summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2024-01-29 14:11:37 -0500
committerJosh Ferrell <josh@vector35.com>2024-01-29 14:11:37 -0500
commit172511fabc0c94d249a52f6bc117772d91e438ae (patch)
tree293dfa08d83f02e2230d2967a65a0e35134dd23b /binaryninjacore.h
parent0b68ffedb6ded3e5e90f39206d57bd1e93065c87 (diff)
Add creation timestamp to ProjectFile
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index 9d4294b4..204390ec 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -37,7 +37,7 @@
// Current ABI version for linking to the core. This is incremented any time
// there are changes to the API that affect linking, including new functions,
// new types, or modifications to existing functions or types.
-#define BN_CURRENT_CORE_ABI_VERSION 47
+#define BN_CURRENT_CORE_ABI_VERSION 48
// Minimum ABI version that is supported for loading of plugins. Plugins that
// are linked to an ABI version less than this will not be able to load and
@@ -3334,11 +3334,11 @@ extern "C"
BINARYNINJACOREAPI BNProjectFile* BNProjectCreateFileFromPath(BNProject* project, const char* path, BNProjectFolder* folder, const char* name, const char* description, void* ctxt,
bool (*progress)(void* ctxt, size_t progress, size_t total));
- BINARYNINJACOREAPI BNProjectFile* BNProjectCreateFileFromPathUnsafe(BNProject* project, const char* path, BNProjectFolder* folder, const char* name, const char* description, const char* id, void* ctxt,
+ BINARYNINJACOREAPI BNProjectFile* BNProjectCreateFileFromPathUnsafe(BNProject* project, const char* path, BNProjectFolder* folder, const char* name, const char* description, const char* id, int64_t creationTimestamp, void* ctxt,
bool (*progress)(void* ctxt, size_t progress, size_t total));
BINARYNINJACOREAPI BNProjectFile* BNProjectCreateFile(BNProject* project, const uint8_t* contents, size_t contentsSize, BNProjectFolder* folder, const char* name, const char* description, void* ctxt,
bool (*progress)(void* ctxt, size_t progress, size_t total));
- BINARYNINJACOREAPI BNProjectFile* BNProjectCreateFileUnsafe(BNProject* project, const uint8_t* contents, size_t contentsSize, BNProjectFolder* folder, const char* name, const char* description, const char* id, void* ctxt,
+ BINARYNINJACOREAPI BNProjectFile* BNProjectCreateFileUnsafe(BNProject* project, const uint8_t* contents, size_t contentsSize, BNProjectFolder* folder, const char* name, const char* description, const char* id, int64_t creationTimestamp, void* ctxt,
bool (*progress)(void* ctxt, size_t progress, size_t total));
BINARYNINJACOREAPI BNProjectFile** BNProjectGetFiles(BNProject* project, size_t* count);
BINARYNINJACOREAPI BNProjectFile* BNProjectGetFileById(BNProject* project, const char* id);
@@ -3375,6 +3375,8 @@ extern "C"
BINARYNINJACOREAPI void BNProjectFileSetFolder(BNProjectFile* file, BNProjectFolder* folder);
BINARYNINJACOREAPI BNProject* BNProjectFileGetProject(BNProjectFile* file);
BINARYNINJACOREAPI bool BNProjectFileExport(BNProjectFile* file, const char* destination);
+ BINARYNINJACOREAPI int64_t BNProjectFileGetCreationTimestamp(BNProjectFile* file);
+
// ProjectFolder object
BINARYNINJACOREAPI BNProjectFolder* BNNewProjectFolderReference(BNProjectFolder* folder);