summaryrefslogtreecommitdiff
path: root/view/elf/elfview.h
diff options
context:
space:
mode:
authorXusheng <xusheng@vector35.com>2024-03-13 15:01:44 +0800
committerXusheng <xusheng@vector35.com>2024-03-19 16:22:11 +0800
commit43a11aa327aea4abc1b85e3784e2fb7085d4079e (patch)
tree7725621352fe965c16dd46328899a5e1610c0b35 /view/elf/elfview.h
parent5f9a7ea15cecb3dc879a221abf4a05f1e748eb37 (diff)
Avoid creating function symbols with integer type
Diffstat (limited to 'view/elf/elfview.h')
-rw-r--r--view/elf/elfview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/elf/elfview.h b/view/elf/elfview.h
index 7df78d01..db60fdb7 100644
--- a/view/elf/elfview.h
+++ b/view/elf/elfview.h
@@ -515,7 +515,7 @@ namespace BinaryNinja
SymbolQueue* m_symbolQueue = nullptr;
void DefineElfSymbol(BNSymbolType type, const std::string& name, uint64_t addr, bool gotEntry,
- BNSymbolBinding binding, size_t size, Ref<Type> typeObj=nullptr);
+ BNSymbolBinding binding, size_t size=0, Ref<Type> typeObj=nullptr);
void ApplyTypesToParentStringTable(const Elf64SectionHeader& section, const bool offset = true);
void ApplyTypesToStringTable(const Elf64SectionHeader& section, const int64_t imageBaseAdjustment, const bool offset = true);