Commit graph

212 commits

Author SHA1 Message Date
d-millar
f5572ede99 GP-5566: first/last? changes for ghidra
GP-5566: fix for J

GP-5566: minor fixes

GP-5566: icons decl proper

GP-5566: minor tweaks

GP-5566: post-review

GP-5566: minor

GP-5566: mo better monitor logic

GP-5566: minor fix
2025-09-08 15:36:25 +00:00
Ryan Kurtz
b25e7c12a1 Merge remote-tracking branch 'origin/GP-5470_dev747368_golang_typeinfo_1_24_1_25' 2025-08-28 12:23:12 -04:00
dev747368
86a525aef0 GP-5470 Golang json snapshot data, go1.24, go1.25, swissmap.
Remove usage of golang*.gdt for bootstrap type info.  Instead all types
are reconstituted from the info in the .json files.

Json data now omits more values that are empty.

Json data now has more consistent fully specified type names.

Remove option to create bootstrap gdt files.

Normalize 'Go' name usage where possible without changing previous
saved properties.

Handle swissmap typename changes.
2025-08-28 15:12:21 +00:00
James
c3c09f2f17 GP-5792 parse DWARF .debug_macro sections 2025-08-25 16:55:45 +00:00
Ryan Kurtz
32782037a9 Merge remote-tracking branch
'origin/GP-5834_dev747368_dwarfline_sourcefile_iterate' (Closes #8329)
2025-07-21 06:11:19 -04:00
Ryan Kurtz
fde33a5821 Merge remote-tracking branch 'origin/patch' 2025-07-18 06:19:25 -04:00
dev747368
20c8d97c85 GP-5834 fix DWARF file / line issue
remove access to dwarfline file count because it encourages callers to
try to iterate via index, which is not something they should do.
2025-07-17 18:30:59 +00:00
ghidra1
53552616ec Merge branch 'GP-3551_ghidra1_InternalProjectLinks' 2025-07-09 13:34:56 -04:00
ghidra1
1aa7b089c0 GP-3551 Added support for internal project link-files with improved link
support within project data tree. Linked-folders are now supported.
Addressed link-support issues related to various actions.  Revised
link-file storage to use smaller non-DB storage. This change does impact
the Ghidra Server.
2025-07-09 13:34:22 -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
Ryan Kurtz
a8655234a4 Merge remote-tracking branch
'origin/GP-5545-5600_ryanmkurtz_autoimporter--SQUASHED' (Closes #8097)
2025-07-01 08:27:37 -04:00
Ryan Kurtz
d3aed2c4b3 GP-5545_5600: ProgramLoader and more flexible loader args 2025-07-01 08:18:36 -04:00
James
cd549a0805 GP-5773 DWARF: add all source files 2025-06-25 19:34:00 +00:00
Ryan Kurtz
ab849887aa Merge remote-tracking branch
'origin/GP-3952-ghidra_blue-update-script-categories--SQUASHED'
2025-06-13 12:12:47 -04:00
ghidra_blue
7db176b2bd GP-3952 Updated the script categories to simplify and reduce the number of folders. 2025-06-13 15:00:15 +00:00
Ryan Kurtz
5ac69075e3 GP-0: Fixing deprecated calls to Conv 2025-06-13 09:03:48 -04:00
Ryan Kurtz
c224c5d44e Merge remote-tracking branch 'origin/GP-5737_ryanmkurtz_script-output--SQUASHED' 2025-06-09 12:20:46 -04:00
Ryan Kurtz
1add5a9bce GP-5737: Fixing GhidraScript PrintWriter 2025-06-09 12:14:58 -04:00
ghidra1
f981f43fad Merge remote-tracking branch 'origin/Ghidra_11.4' 2025-06-06 18:50:01 -04: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
Ryan Kurtz
684177702e GP-0: Fixing deprecated comment API warnings 2025-06-02 09:54:19 -04:00
Ryan Kurtz
d3131e319a GP-0: Fixing unused import warnings 2025-05-30 07:07:43 -04:00
Ryan Kurtz
0cbf33d074 GP-0: Fixing raw type warnings 2025-05-29 11:07:48 -04:00
Ryan Kurtz
a6cd5b5dbc GP-0: Fixing @Override warnings 2025-05-29 11:07:44 -04:00
dev747368
c70de2b590 GP-2941 better defined string iterator
Don't iterate arrays that can't contain a string.
When iterating a struct, only look at defined fields.
Should address issues #8134, #5726, #3498
2025-05-15 16:20:27 -04:00
Ryan Kurtz
1fb758e5ae Merge remote-tracking branch 'origin/patch' 2025-04-03 13:18:59 -04:00
James
861c0c93d4 GP-5561 correct dwarf source file path parsing error 2025-04-03 14:12:45 +00:00
dev747368
2d3922d41f GP-5455 golang interface method calling and decl
Improve how golang interface methods are handled.

Model the 'vtable' (runtime.itab) for a golang interface so each method
declared by the interface gets a funcdef that specifies the method's
params.
2025-03-17 20:07:45 +00:00
dev747368
36c6c8ef77 GP-2432 golang api snapshot, generics, closures, gcwritebarrier
Apply golang runtime function signatures from info stored in json api
snapshot files.

The api snapshot files are created by a custom go helper program that
uses the go compiler parser to parse the go toolchain source tree and
writes the discovered function and type info into a json file.

The go-api-parser helper program is based off of work contributed by
github user monoidic via issue #6367.

Updates generic functions to take a generic dictionary RTTI
parameter (mostly to allow correct assignment of other parameters).

Updates closure functions to take a closure context parameter.  Closure
contexts are passed via a register that is not involved in normal
parameter passing.

Tweaks the signature of gcWriteBarrier functions so that they don't mess
up decompilation of functions that use them.
2025-03-07 16:44:48 +00:00
ghidra007
2e26a0db35 GP-5451 removed old GCCRTTIAnalysisScript because
RecoverClassesFromRTTIScript has the latest Gcc class recovery
mechanisms in it.
2025-03-04 19:26:26 +00:00
Ryan Kurtz
d23e67a088 GP-0: Cleaning up certain types of javadoc errors 2025-02-03 06:13:50 -05:00
Ryan Kurtz
ffe3a46892 Merge remote-tracking branch 'origin/Ghidra_11.3' 2025-01-27 06:17:07 -05:00
emteere
4ca5007bd0 GP-5025_emteere Tuned comparing of Enums and pathnames in GDT's 2025-01-26 18:28:20 +00:00
emteere
553d7103b7 GP-5025 Fix for comment parsing and commenting out of #ifdefed out lines 2025-01-22 22:22:05 +00:00
emteere
40603ee962 GP-5025 Throw error when parsing #error during Cparsing, various bug
fixes including comment parsing, cparser/preprocessing parse error
switch, and L'\n' wide char parsing in pre-processor
2025-01-22 22:21:59 +00:00
Ryan Kurtz
b73cdad6fe GP-0: Certify 2025-01-21 07:23:40 -05:00
hippietrail
138133c95e correct past & continuous forms of "to input" 2025-01-20 23:12:12 +08:00
Ryan Kurtz
8e7f0034e5 Merge remote-tracking branch 'origin/GP-5221_dwarf_debug_relative_paths--SQUASHED' into Ghidra_11.3 2025-01-07 20:20:19 -05:00
James
60a7d049b1 GP-5221 handle relative paths in dwarf source info 2025-01-06 16:54:41 -05:00
James
22f51ed5af GP-5217 added OpenSourceFileAtLineInVSCodeScript and OpenSourceFileAtLineInEclipseScript 2024-12-30 09:26:00 -05:00
James
113943048e GP-4190 sourcefiletable plugin and path transformer 2024-12-20 11:34:40 -05:00
James
9aeeaa4397 GP-3883 added source file manager 2024-12-13 18:51:34 +00: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
941cebf74d Merge remote-tracking branch 'origin/GP-5148_ryanmkurtz_vscode--SQUASHED' 2024-12-03 07:03:53 -05:00
Ryan Kurtz
478d3e6331 GP-5148: More polished Visual Studio Code integration 2024-12-03 07:03:13 -05:00
Ryan Kurtz
69a17e3a52 Merge remote-tracking branch 'origin/GP-5104_James_getCallingFunctions_fixes--SQUASHED' 2024-12-03 06:14:47 -05:00
James
dadfaae8c9 GP-5104 get calling/called functions fixes 2024-12-02 08:39:14 -05:00
Ryan Kurtz
2bebb96f77 Merge branch 'GP-0_ryanmkurtz_PR-7225_hippietrail_the-the' 2024-11-26 09:05:43 -05:00
Ryan Kurtz
9b77447764 GP-0: Certify 2024-11-26 08:54:23 -05:00