From 19b66619718e8b114db2fefc498018af44010ac6 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Mon, 19 Mar 2018 00:16:31 -0400 Subject: Add API to get file size --- binaryninjacore.h | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.3.1