From 43a11aa327aea4abc1b85e3784e2fb7085d4079e Mon Sep 17 00:00:00 2001 From: Xusheng Date: Wed, 13 Mar 2024 15:01:44 +0800 Subject: Avoid creating function symbols with integer type --- view/elf/elfview.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/elf/elfview.h') 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 typeObj=nullptr); + BNSymbolBinding binding, size_t size=0, Ref typeObj=nullptr); void ApplyTypesToParentStringTable(const Elf64SectionHeader& section, const bool offset = true); void ApplyTypesToStringTable(const Elf64SectionHeader& section, const int64_t imageBaseAdjustment, const bool offset = true); -- cgit v1.3.1