Commit Graph

10669 Commits

Author SHA1 Message Date
ghidorahrex
18b1d5b6a1 GP-4419: Fixed pcode for ppc lwax instruction 2024-03-11 15:50:45 +00:00
Dan
973b9a8d4c GP-4389: Fixes for Trace RMI lldb on macOS
Create local-lldh.sh launch script
Upgrade to JNA-5.14
Fix pty IOCTL numbers for macOS
Fix compile-spec mapping
Improv error report / clean-up after launch failure.
Write ERROR state on memory read failures
Convert Python exceptions to LLDB command errors
2024-03-11 10:14:40 -04:00
Ryan Kurtz
204081db01 Merge branch 'GP-4417_ryanmkurtz_PR-6302_iflan_fix-macho-import'
(Closes #6302)
2024-03-11 08:27:34 -04:00
Ryan Kurtz
f86b75bf68 GP-4417: Additional fix for Mach-O .dSYM/DWARF files 2024-03-11 08:21:29 -04:00
ghidra1
445494ba25 GP-4390 Collapse DomainObject Undoable interfaces and refactor Command processing. 2024-03-08 13:05:36 -05:00
Ryan Kurtz
136b933af2 Merge remote-tracking branch 'origin/GP-1625_Dan_memoryBytesBorders--SQUASHED' 2024-03-08 12:59:59 -05:00
Ian Flanigan
2eb58ae839 Fix Mach-O import when no segment contains the header
Certain Mach-O files don't have a segment that contains the header.
In this case, `MachoProgramBuilder.setupHeaderAddr` is supposed to
create an area in the "OTHER" address space for the header.
`setupHeaderAddr` keeps track of the lowest file offset for each
segment that it looks at to find the one with the lowest start
address.  It then adds the "HEADER" memory block as 0 to the lowest
start address.

Before, if there were any segments that were
empty (`segment.getFileOffset() == 0 && segment.getFileSize() == 0`),
then `setupHeaderAddr` would mistakenly set the lowest start address
to 0 instead of ignoring the segment.  This would cause
`MemoryMapDB.checkFileBytesRange` to throw an
`IllegalArgumentException`.

With this change, `setupHeaderAddr` ignores empty segments.

This change passes all of the unit and integration tests.  There are
no explicit tests for `MachoProgramBuilder`.
2024-03-08 18:54:31 +01:00
Dan
8e3f97056b GP-1625: Improve consistency of DebuggerMemoryBytesProvider 2024-03-08 12:36:17 -05:00
William Tan
2428fc5b04 add dwarf register mapping for sparc 2024-03-08 10:45:06 -05:00
Ryan Kurtz
812d47c6ac Merge remote-tracking branch
'origin/GP-3110_emteere_PR-1449_mumbel_tricoreanalyzer' (Closes #1449)
2024-03-08 09:05:51 -05:00
Ryan Kurtz
e1054e0bc9 Merge remote-tracking branch
'origin/GP-4381_ghidorahrex_PR-6266_AltimorTASDK_x86_FDIVP_fix'
(Closes #6266)
2024-03-08 09:03:08 -05:00
Ryan Kurtz
cba4f432c7 Merge remote-tracking branch 'origin/GP-4402_ghidra1_InvalidAddressRanges' 2024-03-08 08:57:56 -05:00
Ryan Kurtz
4e8a0c301c Merge remote-tracking branch
'origin/GP-4072_Dan_moduleMapProposals--SQUASHED' (Closes #5994)
2024-03-08 08:56:12 -05:00
Ryan Kurtz
1cc9abad50 Merge remote-tracking branch 'origin/patch' 2024-03-08 08:54:02 -05:00
Ryan Kurtz
07578fe327 Merge remote-tracking branch 'origin/GP-1791_ghidorahrex_ARM_custom_datapath_extension--SQUASHED' into patch 2024-03-08 08:49:04 -05:00
Ryan Kurtz
e16618583f Merge remote-tracking branch 'origin/GP-4369_SwitchPath' into patch 2024-03-08 08:29:22 -05:00
emteere
a8ed3df3a9 GP-3110 missed breaks 2024-03-07 19:09:00 -05:00
emteere
03d4545336 GP-3110 Code review changes 2024-03-07 18:50:44 -05:00
Dan
9f5bfd4c53 GP-4072: Ignore artificial blocks when mapping modules. 2024-03-07 14:22:58 -05:00
ghidorahrex
f35073e033 GP-1791: Added ARM Custom Datapath Extension 2024-03-07 13:59:33 -05:00
Ryan Kurtz
9a7ab128df Merge remote-tracking branch 'origin/GP-4364_emteere_SwitchCallotherOptimization--SQUASHED' 2024-03-07 13:06:43 -05:00
emteere
e9578d74c3 GP-4364 Removing calls to decompiler to recover switches that are unrecoverable due to callother psuedo-ops 2024-03-07 12:42:15 -05:00
emteere
902bcb69a2 GP-3110 fixing minor compilation issues and certification 2024-03-07 11:16:42 -05:00
Ryan Kurtz
14177c5374 Merge remote-tracking branch 'origin/patch' 2024-03-07 09:27:31 -05:00
Ryan Kurtz
50df70ba0f Merge remote-tracking branch 'origin/GP-4392_Dan_gdbConPtyAnsiParsing'
into patch (Closes #6107)
2024-03-07 09:25:11 -05:00
Ryan Kurtz
a8a5f48d2d Merge remote-tracking branch
'origin/GP-4386_ghidra1_ProjectArchiveNullFileID--SQUASHED' into patch
(Closes #6254, Closes #6206)
2024-03-07 09:22:08 -05:00
Ryan Kurtz
5ecf3a1436 Merge remote-tracking branch 'origin/GP-4376_EmitMarkupDebug'
(Closes #5860)
2024-03-07 09:17:47 -05:00
Ryan Kurtz
df29f50fa3 Merge remote-tracking branch 'origin/GP-3891_gdbWineLauncher--SQUASHED' 2024-03-07 09:15:44 -05:00
Ryan Kurtz
c3c34ebf10 Merge remote-tracking branch 'origin/GP-4125_ghidra1_ArtificialBlockAttribute--SQUASHED' 2024-03-07 08:50:41 -05:00
Dan
113657e8b9 GP-3891: Add specific support for wine in ghidragdb; add wine-gdb.sh
Also some documentation fixes for static mappings.
2024-03-07 08:04:36 -05:00
caheckman
49af7f2db5 GP-4376 Add setPackedOutput to Emit 2024-03-06 22:32:06 +00:00
ghidra1
aad9e41670 GP-4386 Handle null FileID for ProjectArchive 2024-03-06 16:58:21 -05:00
ghidra1
ae475f743b GP-4125 Added memory block artificial attribute flag 2024-03-06 16:53:12 -05:00
ghidra1
b4ebe0bfd3 GP-4402 Correct CodeManager.clearAll and improve address range checking
for Program API methods.
2024-03-06 16:51:10 -05:00
Ryan Kurtz
7d189001d6 Merge remote-tracking branch 'origin/patch'
Conflicts:
	Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/db/PackedDatabase.java
2024-03-06 13:24:56 -05:00
Ryan Kurtz
a55029189c Merge remote-tracking branch 'origin/GP-4327_ghidra1_PackedDatabaseSynchronization' into patch 2024-03-06 13:20:49 -05:00
Ryan Kurtz
489903c326 Merge remote-tracking branch
'origin/GP-4398_ghidra1_PR-6270_mumbel_ELFRelocTypes' (Closes #6270)
2024-03-06 11:55:40 -05:00
ghidra1
ce9418d831 GP-4398 minor formatting 2024-03-06 10:58:27 -05:00
Ryan Kurtz
27c72a61d6 Merge remote-tracking branch 'origin/GP-4384_Dan_upgradePyBag2.2.10' 2024-03-06 07:02:59 -05:00
mumbel
59d8eefad1 update constant to type 2024-03-05 22:45:29 -06:00
mumbel
e024e6536d tricore analysis 2024-03-05 22:25:15 -06: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
caheckman
ac0ed8d90b GP-4394 Add formatting to constant array indices 2024-03-05 22:41:52 +00:00
dragonmacher
525656c1ef Fixed table renderer warning caused by Function Tags provider 2024-03-05 16:29:23 -05:00
Dan
87aecb85f9 GP-4384: Upgrade to pybag-2.2.10 2024-03-05 09:50:25 -05:00
Dan
7994ed3a2b GP-4392: Parse l and h ANSI CSI commands for gdb/ConPty. 2024-03-05 09:41:58 -05:00
Ryan Kurtz
4e89a2ec6d Merge remote-tracking branch 'origin/patch' 2024-03-05 06:20:47 -05:00
Ryan Kurtz
711c4de28a Merge remote-tracking branch
'origin/GP-4339_VTDataCorrelator_HandleOverlappingUninitializedMem--SQUASHED'
into patch (#6238)
2024-03-05 06:14:05 -05:00
ghidra007
f3b1f78ab8 GP-4339 fixed memory access exception in VT MatchData 2024-03-04 23:28:59 +00:00