summaryrefslogtreecommitdiff
path: root/src/binary-reader-objdump.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary-reader-objdump.h')
-rw-r--r--src/binary-reader-objdump.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/binary-reader-objdump.h b/src/binary-reader-objdump.h
index 6a485680..aeebd0b9 100644
--- a/src/binary-reader-objdump.h
+++ b/src/binary-reader-objdump.h
@@ -50,6 +50,12 @@ struct ObjdumpOptions {
const char* section_name;
};
+struct ObjdumpSymbol {
+ wabt::SymbolType kind;
+ std::string name;
+ Index index;
+};
+
// read_binary_objdump uses this state to store information from previous runs
// and use it to display more useful information.
struct ObjdumpState {
@@ -57,6 +63,7 @@ struct ObjdumpState {
std::vector<Reloc> data_relocations;
std::vector<std::string> function_names;
std::vector<std::string> global_names;
+ std::vector<ObjdumpSymbol> symtab;
};
Result ReadBinaryObjdump(const uint8_t* data,