Commit graph

49 commits

Author SHA1 Message Date
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
Ryan Kurtz
d23e67a088 GP-0: Cleaning up certain types of javadoc errors 2025-02-03 06:13:50 -05:00
Ryan Kurtz
16388dc261 Merge remote-tracking branch 'origin/patch' 2024-12-03 10:15:21 -05:00
ghidra1
c23354b78d GP-3625 Added simplified FileDataTypeManager factory methods and cleanup of CParser utilities. 2024-12-03 09:43:24 -05:00
Ryan Kurtz
9b77447764 GP-0: Certify 2024-11-26 08:54:23 -05:00
hippietrail
13598df8db many doubled words in comments etc, plus some nearby typos 2024-11-26 13:18:05 +07:00
Ryan Kurtz
faf55a8de6 GP-5078: Improvements to Ghidra Module directory layout 2024-10-31 10:34:26 -04:00
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
Ryan Kurtz
7fa3389119 GP-2974: Fixing warnings 2023-05-01 07:23:48 -04:00
emteere
08b20d5d21 GP-2308 Refactored parsing dialog adding includepaths and Achitecture,
handle noreturn tags
2023-04-20 14:01:41 -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
emteere
ffae7232cb GP-1979_emteere better error reporting and handling of newer cspec idioms NoReturn, anonymous function arrays and parameters, #pragma use, Thread_local, Alignas, allow '#' comment out filename, added parsing scripts 2022-10-12 21:50:02 -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
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
ghidra1
cdeeca79d5 GP-0 Transitioned AttributeId and ElementId to java record 2022-07-25 16:56:58 -04:00
caheckman
aa038c3636 GP-2262 Encoder 2022-07-21 17:48:30 -04:00
James
7d8b222183 GP-2012_James_java_attribute_improvements 2022-05-10 18:22:43 +00:00
ghidra1
ca410b1274 GP-1403 Added support for pointer-typedef settings, including support
for Archive use.  Corrected settings stacking behavior.
Unified two settings adapters into one shared implementation (upgrade
and archive schema version still needed). Added ability to edit default
settings for components from within the structure/union editor.
Improved use of immutable settings.  Improved array settings.  Added
PointerTypeDefBuilder and PointerTypeDefInspector.  Added versioning
support to DataTypeManagerDB to facilitate upgrades and compatibility
detection.  Initial improvements added for locking of datatype settings.
Added support for auto-named pointer-typedefs.
2022-04-15 13:11:43 -04:00
James
98a768e336 GP-1774 addressing code review comments
GP-1774_James_JVM_switch_fixes
2022-03-23 12:47:48 -04:00
caheckman
4bfade4cd8 GP-1647 equivalence check 2022-01-18 11:13:03 -05:00
Ryan Kurtz
3a0ae8ee39 GP-849: Gradle 7 support 2021-05-12 13:45:16 -04:00
caheckman
a5d4ca3cab Program specific, user-defined, cspec extensions
Documentation for spec extensions

Handle extensions with parse errors
Export button for spec extensions
Pop-up dialog for parse errors in user-defined specification extensions
GP-653 corrected some minor issues and established new ProgramDB version
make incremental initialization constructor for AddressSized private
Make AddressSized fields private
More adjustments to AddressSized
Review fixes for BasicCompilerSpec
Take restoreXml out of DataOrganization interface
Remove restoreXml from BitFieldPacking interface
More review fixes
Prevent callotherfixup extension with non-existent target
Suggested export name
More documentation for SpecExtension
Support for undo/redo with spec extensions
Documentation for ConstructTpl
Split out ProgramCompilerSpec and other changes for review
Changes after next round of reviews
2021-05-04 12:11:55 -04:00
ghidra1
a40370ab7a Revert "Merge remote-tracking branch 'origin/GP-653_UserDefinedCspec--SQUASHED'" 2021-04-30 10:34:54 -04:00
caheckman
ed82c2cb34 GP-653 added support for user-defined compiler spec extensions 2021-04-29 16:17:25 -04:00
ghidra1
d377d90e14 Merge remote-tracking branch 'origin/patch'
Conflicts:
	Ghidra/Features/GraphServices/certification.manifest
2021-03-17 19:38:50 -04:00
ghidra1
162f203395 Updated certification headers 2021-03-17 18:22:50 -04:00
ghidra1
d257602096 Merge remote-tracking branch 'origin/GP-0_ryanmkurtz_PR-1756_LorenzNickel_spelling' 2021-02-16 14:32:18 -05:00
ghidra1
d7dbcfebf5 GP-420 relaxed memory block naming restrictions and eliminated throwing of DuplicateNameException from memory block API 2020-11-23 17:35:49 -05:00
ghidra1
0cdc722921 Revert analyzer default enablement change 2020-09-26 08:53:30 -04:00
ghidra1
0df36d17a3 GP-177 allow changes to Stack and PDB analyzer enablement to be retained
as a new default enablement
2020-09-17 19:40:35 -04:00
ghidravore
e76329979a Merge remote-tracking branch 'origin/caheckman_JavaPcodeInjection' 2020-08-03 14:03:01 -04:00
caheckman
45b43b18c3 Remove deprecated PcodeTextEmitter 2020-07-30 16:56:36 -04:00
caheckman
004a99bb87 Attach handling of "this" to ProtoParameter 2020-07-30 12:22:21 -04:00
caheckman
93039d3958 Synchronize access to ClassFileAnalysisState 2020-07-29 17:08:41 -04:00
caheckman
9c2ce9b395 Convert java InjectPayload 2020-07-29 16:00:07 -04:00
caheckman
2d690404fe InvokeMethodsTest passing 2020-07-29 14:02:36 -04:00
caheckman
f4d25ccebb InvokeMethodsTest passes 2020-07-29 13:39:20 -04:00
caheckman
822ea1a376 ReferenceMethodsTest pass 2020-07-29 12:49:16 -04:00
caheckman
5327985d0b ReferenceMethods refactor 2020-07-29 12:18:46 -04:00
caheckman
ad34d91f9b replacement for PcodeTextEmitter 2020-07-29 10:31:33 -04:00
caheckman
93c8171ffa Refactor getBaseSpaceID -> getSpaceID 2020-05-22 18:57:12 -04:00
Lorenz Nickel
2535e606b8 Fix some typos within comments 2020-04-13 08:35:34 +02:00
emteere
e03d8cf8ed GT-3081 Fixed JVM bytecode I2D operation to correctly push an 8 byte
double result.
2019-08-23 15:14:36 -04:00
Ryan Kurtz
7617f30756 GT-2845: Removing MemoryConflictHandler. 2019-07-16 14:08:25 -04:00
dragonmacher
83d85daabc Fixed tools unable to restore Listing location information; fixed
warning getting printed to console for non-Java binaries
2019-07-15 17:25:02 -04:00
James
e3ae5a0370 GT_2757 fixed java stream decompile bug 2019-07-10 15:34:26 -04:00
ghidravore
f1e50fb079 Major refactoring of the gradle build system. 2019-04-23 15:20:26 -04:00
ghidra1
7179c6de81 GT-2667 added support for generating sleigh build.xml files 2019-03-29 17:24:31 -04:00
Dan
79d8f164f8 Candidate release of source code. 2019-03-26 13:46:51 -04:00