summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2018-03-19 00:16:31 -0400
committerPeter LaFosse <peter@vector35.com>2018-03-23 17:10:06 -0400
commit19b66619718e8b114db2fefc498018af44010ac6 (patch)
tree613999155ff3f4bb958e54e73c34f88a6dd8708e
parenta45917bce4f35792d9cf1943cf3316e12ea55523 (diff)
Add API to get file size
-rw-r--r--binaryninjacore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index a1b78b1c..cb4b9eb9 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -3325,6 +3325,7 @@ extern "C"
BINARYNINJACOREAPI bool BNPathExists(const char* path);
BINARYNINJACOREAPI bool BNIsPathDirectory(const char* path);
BINARYNINJACOREAPI bool BNIsPathRegularFile(const char* path);
+ BINARYNINJACOREAPI bool BNFileSize(const char* path, uint64_t* size);
// Settings APIs
BINARYNINJACOREAPI bool BNSettingGetBool(const char* settingGroup, const char* name, bool defaultValue);