From 31d963f7eb2d3615b0d0ab6ced87d06142d83883 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Mon, 24 Nov 2025 21:10:38 -0500 Subject: Add APIs for getting files in a project folder --- binaryninjaapi.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 6f84250c..e29f4084 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -3608,6 +3608,7 @@ namespace BinaryNinja { Ref GetParent() const; bool SetParent(Ref parent); bool Export(const std::string& destination, const ProgressFunction& progressCallback = {}) const; + std::vector> GetFiles() const; }; /*! @@ -3688,6 +3689,8 @@ namespace BinaryNinja { Ref GetFileById(const std::string& id) const; Ref GetFileByPathOnDisk(const std::string& path) const; std::vector> GetFilesByPathInProject(const std::string& path) const; + std::vector> GetFilesInFolder(Ref folder) const; + bool PushFile(Ref file); bool DeleteFile_(Ref file); -- cgit v1.3.1