summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorAlexander Khosrowshahi <alexk@vector35.com>2025-07-03 13:53:40 -0400
committerAlexander Khosrowshahi <alexk@vector35.com>2025-07-03 13:53:40 -0400
commit533b8e546a00537d6945f5329decab4b74a5bf09 (patch)
treefc4ee45f61ded3eeaf746f8828b2cc0373dd31a9 /binaryninjaapi.h
parentdd5009bd17bc0d814c06d3a6962929084878f350 (diff)
Add get_files_by_path_in_project and get_path_in_project to C++ and python APIs
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 0c86e026..2d21ef6d 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -2938,7 +2938,8 @@ namespace BinaryNinja {
Ref<ProjectFile> CreateFileUnsafe(const std::vector<uint8_t>& contents, Ref<ProjectFolder> folder, const std::string& name, const std::string& description, const std::string& id, int64_t creationTimestamp, const ProgressFunction& progressCallback = {});
std::vector<Ref<ProjectFile>> GetFiles() const;
Ref<ProjectFile> GetFileById(const std::string& id) const;
- Ref<ProjectFile> GetFileByPathOnDisk(const std::string& path);
+ Ref<ProjectFile> GetFileByPathOnDisk(const std::string& path) const;
+ std::vector<Ref<ProjectFile>> GetFilesByPathInProject(const std::string& path) const;
void PushFile(Ref<ProjectFile> file);
bool DeleteFile_(Ref<ProjectFile> file);