GeezerVison is showing github.com — Fix some inconsistencies in python bindings between clang and core ty… · Vector35/binaryninja-api@772ab3c
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: binaryninjacore.h +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -2988,7 +2988,7 @@ extern "C" |
2988 | 2988 | BINARYNINJACOREAPI char* BNGetPathRelativeToUserPluginDirectory(const char* path); |
2989 | 2989 | BINARYNINJACOREAPI char* BNGetPathRelativeToUserDirectory(const char* path); |
2990 | 2990 |
|
2991 | | - BINARYNINJACOREAPI bool BNExecuteWorkerProcess(const char* path, const char* args[], BNDataBuffer* input, |
| 2991 | + BINARYNINJACOREAPI bool BNExecuteWorkerProcess(const char* path, const char** args, BNDataBuffer* input, |
2992 | 2992 | char** output, char** error, bool stdoutIsText, bool stderrIsText); |
2993 | 2993 |
|
2994 | 2994 | BINARYNINJACOREAPI void BNSetCurrentPluginLoadOrder(BNPluginLoadOrder order); |
|
Collapse file
Copy file name to clipboardExpand all lines: python/generator.cpp +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -340,7 +340,7 @@ int main(int argc, char* argv[]) |
340 | 340 | fprintf(enums, "\n\nclass %s(enum.IntEnum):\n", name.c_str()); |
341 | 341 | for (auto& j : i.second->GetEnumeration()->GetMembers()) |
342 | 342 | { |
343 | | - fprintf(enums, "\t%s = %" PRId64 "\n", j.name.c_str(), j.value); |
| 343 | + fprintf(enums, "\t%s = %" PRId32 "\n", j.name.c_str(), (int32_t)j.value); |
344 | 344 | } |
345 | 345 | } |
346 | 346 | else if ((i.second->GetClass() == BoolTypeClass) || (i.second->GetClass() == IntegerTypeClass) |
|