Skip to content

Commit 3012aa2

Browse files
committed
Move C-style format provider into public API
1 parent e7ab0ac commit 3012aa2

3 files changed

Lines changed: 430 additions & 0 deletions

File tree

binaryninjaapi.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,20 @@
1919
// IN THE SOFTWARE.
2020

2121
#include "binaryninjaapi.h"
22+
#include "cstyleformatstringresolutionprovider.h"
2223
#include <numeric>
2324

2425
using namespace BinaryNinja;
2526
using namespace std;
2627

28+
namespace
29+
{
30+
const bool g_cStyleFormatStringResolutionProviderRegistered = []() {
31+
RegisterCStyleFormatStringResolutionProvider();
32+
return true;
33+
}();
34+
}
35+
2736

2837
struct WorkerThreadActionContext
2938
{

0 commit comments

Comments
 (0)