summaryrefslogtreecommitdiff
path: root/view/elf/elfview.cpp
AgeCommit message (Collapse)Author
2026-05-28[ELF] Fix MIPS symbol lookup hang with malformed symbol table entryMason Reed
If we hit a got entry outside the valid regions of memory we can safely assume the tables to be malformed.
2026-05-27Apply symbols and types to TMS320C6x ELFsBrandon Miller
2026-05-06Fix ARM/Thumb2 function platform for .gnu_debugdata symbols.Brian Potchik
2026-03-06Implement DTPOFF64 and DTPMOD64 relocations.Alexander Taylor
Finally closes #5463.
2026-01-27Fix MIPS64 relocation entry parsing.Alexander Taylor
2026-02-23Revert "validation for zero sized symbol or string tables"Brian Potchik
This reverts commit bcc40473b3660005e83f51150bdc17ae177768dc.
2026-02-23Revert "guard against empty .interp and .dynamic"Brian Potchik
This reverts commit 4573354f23da495099983dac4b665988cd837ff5.
2026-02-19guard against empty .interp and .dynamicJordan Wiens
2026-02-19validation for zero sized symbol or string tablesJordan Wiens
2026-01-30Force ELF view addr size to 4 bytes for x32 and ilp32Brandon Miller
These binaries can be ELF64 or ELF32 format, if the user specifies linux-x32 or linux-ilp32 platforms the BinaryView's default address size needs to be 4, even if it's an ELF64
2026-01-23Lifted new PPC insns, MIPS reloc fix.Alexander Taylor
2026-01-23Implement R_386_IRELATIVE relocation handling.Alexander Taylor
Closes #7851.
2026-01-22[ELF] Fix reading dynamic string tables at large offsetsJosh Ferrell
2025-12-16Support automatic and manual endianness override for x86 ELF files (#7347)Copilot
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-12-08Introduce an RAII type for managing bulk symbol modificationsMark Rowe
Fixes https://github.com/Vector35/binaryninja-api/issues/7666. Correctly managing the state of bulk symbol modifications via `BeginBulkModifySymbols` / `EndBulkModifySymbols` is error-prone in the face of exceptions and early returns. Leaking a bulk symbol modification can leave the view in a state where no further changes to symbols will be applied. All users of the C++ API are encouraged to move from `BeginBulkModifySymbols` / `EndBulkModifySymbols` to the new `BulkSymbolModification` class.
2025-11-04Fix whitespace. (skip-ci)Brian Potchik
2025-09-29Treat .got.plt as read-only for HexagonBrandon Miller
This allows types to propagate to thunks in cases where there are GOT entries for internal functions
2025-09-29Apply platform types on Hexagon statically linked binariesBrandon Miller
2025-08-14ELFView performance fix: avoid calling GetSectionsAt in the innerloopPeter LaFosse
When the section list gets large GetSectionsAt becomes quite slow instead the the whole list of sections outside the loop and just encour that hit once. It could probably be made even faster if we used an interval tree but then we have to pay the cost of building the tree which may be more nauanced
2025-08-14Ensure ELFView only add segments in a Begin/EndBulkAddSegments contextPeter LaFosse
2025-08-05[ELF] Fix a memory leak when parsing .gnu_debugdataMark Rowe
2025-08-01Add LogForException APIs to pass stack trace information separate from the ↵Rusty Wagner
message
2025-07-29Added check for sharedobject without program header section start address.Hongyu Chen
2025-07-14Disable outlining in .gnu_debugdata to prevent incorrect symbol definitions.Brian Potchik
2025-07-05Fix ELF loader image base calculation to include memory-only PT_LOAD segments.Brian Potchik
2025-06-29[powerpc] Full merge of PowerPC disassembler PRs, including:Galen Williamson
* Remove dependency on capstone for PowerPC disassembly #6292 * Add support for PowerPC VLE instruction set #6740 * Add support for paired-single instructions #6821 * Various post-merge fixes and tweaks to disassembly and lifting * Removal of dependence on capstone for assembler's scoring mechanism (capstone currently disabled, but not removed from codebase yet)
2025-06-25Fix cxx20 compiler warnings.Alexander Taylor
2025-06-25Remove implicit conversions from Confidence to underlying type, these can ↵Rusty Wagner
cause bugs and also issues with C++20
2025-06-25[view][elf] Fixed duplicate NOTE section loading in address space.Hongyu Chen
NOTE sections were being treated as loadable segments when they should be metadata-only. The NOTE section had the allocatable flag set. The program correctly checked for SHF_ALLOC but didn't exclude NOTE sections explicitly. NOTE sections consumed 0x50 bytes at the base address
2025-06-16Use heuristic confidence for ELF symbol auto-type inference.Brian Potchik
2025-05-30Don't query the template simplifier setting while demangling symbolsPeter LaFosse
2025-05-28Support for Linux x86-64 x32 ABIBrandon Miller
2025-04-03Fix user platform override between armv7 and thumbBrandon Miller
Only override the default platform based on the entry point architecture in cases where the user didn't explicitly set loader.platform
2025-03-18Fix loading .gnu_debugdata when loading an ELF with non-zero baseJosh Ferrell
2025-03-04Use robust check for MIPS architecture when generating the lazy bind ↵Brian Potchik
resolver symbol.
2025-03-03Perform fixups for MIPS local GOT slots using synthetic relocation entries.Brian Potchik
2025-03-03Correctly perform fixups for MIPS32 local symbols using synthetic relocation ↵Brian Potchik
entries.
2025-01-20Allow overriding common loader settings when automatic load file parsing fails.Brian Potchik
2024-12-05Implement SHN_COMMON symbol handlingMitchell Johnson
2024-11-22Fix CXXABI postfixed externs being duplicated in ELFMason Reed
2024-11-13Bulk add segments in the binary view to improve performanceXusheng
2024-10-23Add API to bulk add segments, use it in elf viewJosh Ferrell
2024-10-17verify relocation sections have non-zero sizesJordan Wiens
2024-10-17Demangler plugin APIGlenn Smith
Closes #467
2024-09-18Add support for loading symbols from .gnu_debugdataJosh Ferrell
2024-09-13Ultimate.Alexander Taylor
2024-08-16Prevent reading past end of dynamic tableJosh Ferrell
2024-08-14Fix scoping bug with 'files.elf.detectARMBE8Binary' setting.Brian Potchik
2024-07-18MemoryMap update with new segment model.Brian Potchik
2024-07-09Account for rebasing when processing ELF_STT_FUNC entries. Fix ↵Xusheng
https://github.com/Vector35/binaryninja-api/issues/5685