summaryrefslogtreecommitdiff
path: root/view/macho/machoview.h
diff options
context:
space:
mode:
authorkat <kat@vector35.com>2025-05-13 11:04:58 -0400
committerkat <kat@vector35.com>2025-05-13 11:05:19 -0400
commit9317717dfb7e25b22d9559fe392e599e3c7f6ba8 (patch)
tree5f1335a325bca74536742d54f8be1ac195ccb802 /view/macho/machoview.h
parent811fb8543a66705594647fd76cfaf4f3fd02fda4 (diff)
Rework Export Trie parser to avoid recursion, improve error checking
Diffstat (limited to 'view/macho/machoview.h')
-rw-r--r--view/macho/machoview.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/view/macho/machoview.h b/view/macho/machoview.h
index 787ae36b..3081ff13 100644
--- a/view/macho/machoview.h
+++ b/view/macho/machoview.h
@@ -1483,6 +1483,7 @@ namespace BinaryNinja
void ParseFunctionStarts(Platform* platform, uint64_t textBase, function_starts_command functionStarts);
bool ParseRelocationEntry(const relocation_info& info, uint64_t start, BNRelocationInfo& result);
+ bool AddExportTerminalSymbol(const std::string& symbolName, uint64_t symbolFlags, uint64_t imageOffset);
void ParseExportTrie(BinaryReader& reader, linkedit_data_command exportTrie);
void ReadExportNode(uint64_t viewStart, DataBuffer& buffer, const std::string& currentText,
size_t cursor, uint32_t endGuard);