Commit Graph

171 Commits

Author SHA1 Message Date
dev747368
272c6a4d1f GP-2109 Golang analyzer improvements, gostrings.
Add GolangStringAnalyzer.

Improved recovery of function signatures (from method and interfacemetadata, also via stack trace info).

Golang package paths are used as Ghidra namespace.

Propagate RTTI from some built-in runtime alloc methods.
2023-11-30 18:59:13 +00:00
jt8587
ab40dbae46 GP-3748: Added support for CaRT file system 2023-11-30 08:44:52 -05:00
ghizard
4da04423bd GP-4025 - PDB - Use ByteProvider in place of RandomAccessFile 2023-11-27 16:00:41 -05:00
Ryan Kurtz
d81a42df6d GP-3753: 'Add To Program' workflow for dyld_shared_cache components 2023-10-16 16:15:43 -04:00
Ryan Kurtz
960f63fa07 GP-3860: DyldCacheExtractor can now extract .dylddata and stubs files 2023-09-21 12:30:18 -04:00
ghidra1
418995f0ce Merge remote-tracking branch 'origin/patch' 2023-09-01 12:30:30 -04:00
d-millar
38c28e9b82 GP-0: RVAs for dumpfile should not be cast to int 2023-08-31 22:18:16 +00:00
Ryan Kurtz
3f130fc4e1 GP-0: Small Mach-O refactorings 2023-08-16 12:37:54 -04:00
Ryan Kurtz
3d0395a6fd GP-3728: Lazy loading of local symbols and other refactoring 2023-08-14 08:09:58 -04:00
ghidra1
3eb642885c GP-3697 Added delayed ProjectFileManager disposal in support of URL use
and opening linked project files and renamed ProjectFileData to
DefaultProjectData.
2023-08-11 12:53:29 -04:00
Ryan Kurtz
0e3e3cccbf GP-3728: Libraries extracted from the dyld_shared_cache filesystem now
contain local symbol information, which reduces the occurrence of
"<redacted>" primary symbols
2023-08-09 11:15:14 -04:00
dev747368
1b1fbf3baa GP-3654 refactor GFilesystem, add abstract base class, filename case
Add AbstractFileSystem to reduce duplicate boilerplate.
Start to add support for file name/path case (in)sensitive comparisons.
2023-07-26 21:53:45 +00:00
Ryan Kurtz
3576ae9424 GP-1574: Delaying fixing DyldCacheFileSystem slide pointers until the
first provider is requested
2023-07-17 11:18:35 -04:00
Ryan Kurtz
3305f6af5d GP-1574: Improved support for dyld_shared_cache slide pointer fixups 2023-07-12 12:00:42 -04:00
Ryan Kurtz
5b9dfc92dd Merge remote-tracking branch 'origin/patch' 2023-07-06 11:16:27 -04:00
ghidra1
ccad2abbd8 GP-0 revised x86-64 ldef entry for compat32 variant and change opinion
entries to give preference to default variant
2023-07-05 10:58:20 -04:00
Ryan Kurtz
40a888599f Merge remote-tracking branch 'origin/patch' 2023-06-30 13:04:11 -04:00
Dan
899772973a GP-3295: Add askPassword to GhidraScript API. 2023-06-29 17:05:47 -04:00
Ryan Kurtz
763804e6c5 GP-3587: Libraries extracted from a DyldCacheFileSystem now contain an
optimized __LINKEDIT segment, resulting in a significantly smaller
binary
2023-06-28 11:26:22 -04:00
Ryan Kurtz
309be1eb05 GP-3566: Adjusted MachoLoader and DyldCacheLoader options 2023-06-22 10:06:31 -04:00
dev747368
793bedc0b4 GP-3554 fix UnknownProgressWrappingTaskMonitor's checkCanceled
The 1L checkCanceled() was calling the base-class's impl instead of
calling the delegate's impl.  Fixed by use the right base class.

Also tweaked 2 new uses of 1L in Dtb and Fdt Analyzer.
2023-06-20 22:10:00 +00:00
dragonmacher
a7668c7f85 GP-3430 - Updated the gradle buildHelp task to better handle its inputs up-do-date state 2023-06-06 15:25:25 -04:00
Ryan Kurtz
0d71657d05 Merge remote-tracking branch 'origin/patch' 2023-06-01 13:39:47 -04:00
d-millar
8632891f83 GP-0: use readUnsignedInt for dump memory blocks 2023-06-01 13:15:14 -04:00
isabella3412
1f866578b1 GP-3328: Added support for CramFS 2023-05-25 07:19:50 -04:00
Ryan Kurtz
969a247d1c Merge remote-tracking branch 'origin/GP-1436_lazybinding-dev_DTB_FTD_Support--SQUASHED' 2023-05-11 07:23:53 -04:00
lazybinding-dev
629924ed29 Support for analyzing DTB/DTBO and FTD binaries. 2023-05-10 09:24:38 -04:00
Ryan Kurtz
7fa3389119 GP-2974: Fixing warnings 2023-05-01 07:23:48 -04:00
ghidra1
a4776892bd GP-1633/GP-2308 Added ProgramArchitecture to datatype managers.
Refactored ProjectDataTypeManager to extend StandaloneDataTypeManager.
Added actions to datatype tree to allow setting archive architecture.
Added use of storage translators when switching architectures.  Allow
FunctionDefinition to accept arbitrary calling convention
names and many other misc changes.
2023-04-20 14:01:39 -04:00
ghidra1
14b78c1307 GP-1633 added new DataUtilities.createData method without stackPointers
param
2023-03-23 16:17:58 -04:00
Ryan Kurtz
f43f411047 GP-3154: Updating Guava to 31.1-jre, and other dependent jars 2023-03-10 10:48:56 -05:00
Ryan Kurtz
a3ca5a67e1 Merge remote-tracking branch
'origin/GP-877_dev747368_fixedlen_leb128_datatypes--SQUASHED
2023-03-08 13:52:09 -05:00
dev747368
0e45354f24 GP-877 LEB128 enhancements, cleanup 2023-03-07 19:33:43 -05:00
Scott Percival
c4088db81c Add OmfRecord support for CEXTDEF
Make OmfLoader add dummy functions at entrypoints

Fix conditional read when parsing FIXUP records

Fix typo in function name
2023-02-21 06:25:56 -05:00
Ryan Kurtz
1574262722 GP-2877: Refactoring Loader and AutoImporter to better accommodate loading more than one thing 2023-02-14 15:33:06 -05:00
ghidra1
7143f64c51 Merge remote-tracking branch
'origin/GP-2986-dragonmacher-component-provider-methods--SQUASHED'
2023-02-03 17:55:23 -05: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
dragonmacher
c252e3b905 GP-2986 - ComponentProvder and dialog cleanup on dispose 2023-02-02 17:51:15 -05:00
dragonmacher
e3aad672ce GP-2894 - Icon Cleanup - Moved icons from Generic into Gui; Deleted
shared icons not in the Help module
2022-12-12 13:39:30 -05:00
Alessandro Gatti
c8208770d6 Apply the fix to the other Ext4 analyzer too. 2022-11-21 07:45:59 +01:00
Alessandro Gatti
e4ba4d62d0 Fix 64 bits Ext4 inode table offset calculation. 2022-11-21 07:37:16 +01:00
ghidragon
a92a27e9f1 GP-1981 Review fixes 2022-11-15 14:56:05 -05:00
dev747368
b00bd1b498 GP-2713 fix 7zip file system initialization logic 2022-10-18 11:01:42 -04:00
Ryan Kurtz
56293636d0 GP-2624: Removing library support from a bunch of loaders that shouldn't
have it
2022-10-04 05:46:14 -04:00
Ryan Kurtz
fdda6b672e GP-2604: More load library options 2022-10-03 01:10:02 -04:00
Ryan Kurtz
deaf9b481f Merge remote-tracking branch 'origin/GP-0_lazybinding-dev_android_refactor' 2022-09-27 01:54:18 -04:00
Ryan Kurtz
d959fe5cb7 Merge remote-tracking branch 'origin/GP-2553_dev747368_fix_memorybyteprovider_length_take2--SQUASHED' 2022-09-27 00:37:58 -04:00
dev747368
14f5cf93da GP-2553 fix MemoryByteProvider's length() issues
Previously the impl would only return the length of the memory block where the byte provider started, or return 0 if there wasn't a memoryblock at the base address.
Now returns the length of the available memory (in the same addressspace) that is found in the program's memory map, clamped to Long.MAX_VALUE.

Updated users of MemoryByteProvider to use helper methods to create.

Removed ISO9660 format analyzer (that was using MemorbyByteProvider) because we no longer have our own iso format code after switching to Sevenzip.
2022-09-26 12:24:22 -04:00
lazybinding-dev
9575891837 Renamed and reorganized VDEX classes. 2022-09-21 12:36:32 -04:00
lazybinding-dev
25840cf121 Renamed and reorganized OAT classes. 2022-09-21 10:45:30 -04:00