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-19 00:16:31 -0400
commit33b2a9d597e38e3c1df94b17ee7617fac8cdf311 (patch)
tree613999155ff3f4bb958e54e73c34f88a6dd8708e
parent8f80afaaffa53ab0a1b0a4abc1a4c27ac45cf7d0 (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);