53 Commits

Author SHA1 Message Date
Dan
9d186a3e30 GP-5976: Implement constant folding and other optimizations in JIT emulator. 2026-09-02 18:36:58 +00:00
Ryan Kurtz
ad8f879a86 Merge remote-tracking branch 'origin/GP-6976_James_cold_symbols_elf_files--SQUASHED' 2026-07-22 11:13:45 -04:00
James
221ad21bed GP-6976 handle .cold symbols in ELF files 2026-07-22 09:23:05 -04:00
Dan
427d857d51 GP-6787: Add 'Emulate Function' action and dialog. 2026-07-01 18:28:31 +00:00
Ryan Kurtz
db7e56f0ca Merge remote-tracking branch 'origin/Ghidra_12.1' 2026-03-19 08:35:17 -04:00
Dan
bcc984bced GP-0: Fix more test config/build issues. 2026-03-19 12:30:30 +00:00
Ryan Kurtz
210be332cd Merge remote-tracking branch 'origin/Ghidra_12.1' 2026-03-18 08:28:49 -04:00
Dan
fa23479747 GP-4241: Port EmulateInstructionStateModifiers to PcodeUseropLibraryFactories. 2026-03-18 12:09:45 +00:00
dev747368
1c59d2e56d GP-6434 improve finding rust signature in Elf binaries
check the .comment section first before searching for byte signature.
2026-03-10 21:18:39 +00:00
ghidra1
fe35e34add GP-6329 Corrected PowerPC-32 ELF Relocation processing for
R_PPC_ADDR16_LO and R_PPC_ADDR16_HA
2026-01-13 17:16:14 -05:00
ghidra1
ba9c648374 GP-6229 Updated EmulateInstructionStateModifier.executeCallOther to drop first input for consistency with all other code that invokes OpBehaviorOther.evaluate method and Corrected OpBehaviorOther regression errors with various implementations 2025-12-15 15:20:37 -05:00
emteere
88ff4b2008 GP-6120_emteere_FixThunkDetectionMarkupPPC64 2025-11-24 18:25:40 +00:00
ghidra1
4a0e95ecd3 GP-3091 ppc64 ELF improvements for 32-bit addressing. Fixed default ELF
GOT markup boundary condition.  Fixed improper EXTERNAL symbols with
.pltgot. prefix and duplication.
2025-07-25 14:19:18 -04:00
Ryan Kurtz
edf42d82d9 Merge remote-tracking branch 'origin/GP-5846_ghidra1_PPC64_ELFRelocations' into patch 2025-07-18 15:17:45 -04:00
ghidra1
006bd8d423 GP-5846 Corrected ELF PowerPC 64-bit relocation processing bugs
affecting ELFv2 use and R_PPC64_JMP_SLOT relocation
2025-07-18 12:00:34 -04:00
emteere
4723729d80 GP-5804 Set SymbolicPropogator to record register begin/end state in
basic constructor. Better document recordBeginEndState flag.
2025-07-03 17:49:53 +00:00
ghidra1
8c441250f5 GP-5742 Cleanup preferred CommentType enum use. Changed SARIF data component comment JSON serialization from int to String. 2025-06-06 17:58:07 -04:00
ghidra1
036ef9d0db GP-4737 - Improve ELF relocation handling of unresolved symbol 2024-07-01 13:06:54 -04:00
ghidra1
6705f25da2 GP-0 Additional ELF relocation handler change 2024-04-01 17:10:27 -04:00
ghidra1
01087ba0a8 GP-0 Minor revision to ELF relocation handlers 2024-04-01 17:09:44 -04:00
ghidra1
193e7221fd Merge remote-tracking branch 'origin/patch' 2024-03-13 09:04:01 -04:00
ghidra1
ce9418d831 GP-4398 minor formatting 2024-03-06 10:58:27 -05:00
mumbel
9a22180efa Add issing ELF reloc 2024-03-05 22:19:27 -06:00
ghidra1
4fb1f03a85 GP-4397 Revised ELF R_PPC_ADDR16_LO and R_PPC_ADDR16_HA processing 2024-03-05 19:26:22 -05:00
ghidra1
3ead54f0ac GP-4239 Transitioned to new AbstractElfRelocationHandler implementation which uses ElfRelocationType enums specific to each handler. 2024-02-12 10:52:25 -05:00
Ryan Kurtz
c3b4f5eda0 GP-0: Formatting/Certify. Also removing untested code. 2024-01-04 08:52:58 -05:00
Ivan Kuzmenko
d543ca8e3d Add support for PowerPC COFF Relocations 2023-11-17 07:32:11 +03:00
William Tan
0b3801a5a5 typo: setMinpeculativeOffset -> setMinSpeculativeOffset 2023-09-20 13:24:01 -04:00
emteere
69caba1dcb GP-3845 Fixed creation of undefined data type for PPC read/write
references
2023-09-15 18:58:11 +00:00
emteere
b7ede746d0 GP-3599 Fix for function bodies including one byte of non-disassembled
data.  PowerPC disassembly from computed branch.
2023-06-30 22:42:47 +00:00
Ryan Kurtz
7fa3389119 GP-2974: Fixing warnings 2023-05-01 07:23:48 -04:00
emteere
02248d2251 GP-3077 Added constant tracking through stack for stack parameters, fixed issues with values getting crossed moving in and out of memory, added prototype param type creation, added setting for restricting parameters to know pointers to handle harvard architectures and pointertypedefs 2023-05-01 01:57:56 -04:00
ghidra1
ef8d86e0ae GP-3339 avoid offset-pointer creation in execute blocks during ELF relocation processing. Also skip for section-symbol based relocations. 2023-04-21 13:55:34 -04:00
Ryan Kurtz
32e5c3de56 GP-3262: Mach-O PowerPC relocation framework 2023-04-06 08:07:47 -04:00
Pokechu22
14880b53c4 Create and use LZCOUNT Pcode op 2023-03-02 18:30:04 -08:00
ghidra1
5b433f35ca GP-3013 Refactor of Relocation API (created V6 DB adapter) to include
status and stored length when original FileBytes are used.
2023-02-03 08:01:04 -05:00
ghidra1
6e1ad5578f GP-2984 modified ELF relocation processing to use single ElfRelocationContext instance. Modified X86-64 relocation processing to handle GOTPCREL for object modules. 2023-01-19 09:12:36 -05:00
ghidra1
2803472278 GP-2744 correct ELF symbol table processing in absence of associated string table 2022-10-21 12:44:04 -04:00
ghidra1
6b9bd6c220 GP-2703 revised ELF relocation processing to handle statically linked
binaries and adjusted post-relocation read-only memory fixup.
2022-10-17 18:43:27 -04:00
emteere
ca5a6204c3 GP-2391 added evaluation of return address, allow thunking addresses to externals. Added new arem thunk pattern. 2022-10-11 18:25:09 -04:00
ghidra1
0d54d2d7c3 GP-713 added support for ELF PowerPC R_PPC_EMB_SDA21 relocation. Also revised PowerPC cspecs in support of EABI. 2022-07-25 08:38:40 -04:00
ghidra1
b23ab30f58 GP-2128 changed relocation table to support multiple relocations at the same address and rely on original FileBytes for relocations when possible instead of storing within relocation. 2022-07-14 15:59:13 -04:00
ghidra1
01067debde GP-1797 removed unused DataTypeConflictException 2022-05-16 12:33:16 -04:00
ghidra1
b16404d87b GP-1936 Support extended sizes for ELF program and section header counts 2022-04-18 20:57:33 -04:00
ghidra1
2bced1cd43 GP-1036 EXTERNAL Block Offset-Reference refactor 2022-04-15 13:19:40 -04:00
ghidra1
9076b2429c GP-1571 ELF: create fake relocation table entry for non-relocation memory modifications (needed for ELF export) 2021-12-13 14:52:24 -05:00
ghidra1
0a24532bf7 GP-1110 Refactor ElfDefaultGotPltMarkup.processDynamicPLTGOT implementation, Correct duplicate ELF relocation table processing, and other minor ELF cleanup 2021-08-02 15:58:37 -04:00
ghidra1
e89a8dcde3 GP-1029 Detect and mark unsupported EXTERNAL data relocation and correct MIPS compound relocation processing bug. 2021-06-09 18:26:05 -04:00
ghidra1
d91dd11fdc GP-0 change PowerPC R_PPC_COPY and R_PPC64_COPY ELF relocation failure
to a warning
2021-02-03 10:35:25 -05:00
ghidra1
6107f29a95 GP-302 corrected issue affected ELF PLTGOT bounds determination.
Corrected various pointer and data related issues
2020-10-23 18:57:11 -04:00