diff options
| author | Xusheng <xusheng@vector35.com> | 2020-09-28 16:50:27 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2020-10-16 23:06:25 +0800 |
| commit | ba72c577874c83567737d08ca64d3e52090763b7 (patch) | |
| tree | f5a1c8d1778795f56e1657924ae50bd53adbd730 /binaryninjaapi.h | |
| parent | 8961012dca58c18afcdf1985b1cb554a5b1ad4c2 (diff) | |
add unit test for deprecated BinaryViewType
expose FileMetadata::GetExistingViews()
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 96500934..7e956161 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -940,6 +940,7 @@ __attribute__ ((format (printf, 1, 2))) bool Navigate(const std::string& view, uint64_t offset); BinaryNinja::Ref<BinaryNinja::BinaryView> GetViewOfType(const std::string& name); + std::vector<std::string> GetExistingViews() const; }; class Function; @@ -1832,6 +1833,8 @@ __attribute__ ((format (printf, 1, 2))) std::string GetName(); std::string GetLongName(); + bool IsDeprecated(); + virtual BinaryView* Create(BinaryView* data) = 0; virtual BinaryView* Parse(BinaryView* data) = 0; virtual bool IsTypeValidForData(BinaryView* data) = 0; |
