Commit graph

187 commits

Author SHA1 Message Date
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
hippietrail
13598df8db many doubled words in comments etc, plus some nearby typos 2024-11-26 13:18:05 +07:00
Ryan Kurtz
69d6495b60 init 2024-11-18 11:00:47 -05:00
Ryan Kurtz
1df4527dd3 GP-5133: Improvements to how we use python type stubs 2024-11-15 09:57:50 -05:00
Andras Gemes
c89a17c2ee
Base: Fix typo in AskScript.properties 2024-10-16 11:18:26 +02:00
Peter Lucia
e6ed8da679
Update VSCodeProjectScript.java
Pre-populate VSCodeProject settings with Ghidra formatter preferences.
2024-10-07 17:28:53 -04:00
Ryan Kurtz
6d0081c69f Merge remote-tracking branch 'origin/patch' 2024-09-30 11:14:31 -04:00
Ryan Kurtz
a3d0b40f36 GP-4971: Fixed a typo in VSCodeProjectScript.java that resulted in the
"Extensions/Ghidra/Skeleton" directory not being found.
2024-09-30 11:10:56 -04:00
Ryan Kurtz
077ab676aa Merge remote-tracking branch 'origin/Ghidra_11.2' 2024-09-16 12:37:32 -04:00
emteere
35a4455826 GP-4928 Added support for Hexdump and multi-line bytes field to PasteCopyiedListingBytesScript. Also added JUNIT tests. 2024-09-13 16:45:31 -04:00
Ryan Kurtz
5b81139197 Renaming Pyhidra to PyGhidra 2024-09-09 10:50:12 -04:00
DC3-TSD
92d0f1dacf Python3 support 2024-09-09 09:58:05 -04:00
Ryan Kurtz
187406f45b Merge remote-tracking branch 'origin/GP-4883_ghidra007_PR-6841_leechristensen_Fix_null_exception_in_PropagateExternalParamsScript' 2024-08-30 12:02:31 -04:00
ghidra007
ecf5fca015 GP-4883 fix null exception in PropagateExternalParamsScript 2024-08-30 15:38:32 +00:00
Ryan Kurtz
27c162ee8f GP-0: Skeleton's build.grade was interfering with building natives in a
release
2024-08-29 07:03:54 -04:00
Lee Chagolla-Christensen
0e558caa3d
Fix null exception in PropagateExternalParametersScript.java 2024-08-21 15:06:25 -07:00
dev747368
ffaa3398ca GP-4836 cleanup "Executable Format" option usage 2024-08-09 19:47:03 +00:00
ghidra007
c153d30c8d GP-4808 new script to remove quotes from primary analysis and imported
symbols.
2024-08-01 23:54:38 +00:00
Ryan Kurtz
73018adb80 GP-4795: Initial support for Visual Studio Code script and module
development
2024-07-29 08:11:22 -04:00
Ryan Kurtz
420eb767e8 GP-4706: GhidraScripts can now use @runtime to specify which GhidraScriptProvider to use when multiple expect the same script file extension (e.g., '.py') 2024-06-28 13:26:24 -04:00
ghidra1
43eb848eac Merge remote-tracking branch 'origin/Ghidra_11.1' 2024-06-06 15:50:48 -04:00
ghidra1
3ebc46a2ca GP-0 Improved process error handling for Decompiler and GNU Demangler.
Corrected minor GNU Demangler demangler command and script issues.
2024-06-06 15:11:14 -04:00
dev747368
560d5691a7 GP-4482 Golang 1.16 + 1.15 2024-05-29 19:04:27 +00:00
Ryan Kurtz
f2a94605eb Merge remote-tracking branch 'origin/GP-4516_ryanmkurtz_PR-6337_agatti_midi-resource' 2024-05-07 06:29:57 -04:00
GhidraKraken
6fb5d60384 GP-4480: Added script to paste address/bytes copied as text from a
Ghidra listing
2024-05-06 13:26:11 -04:00
Ryan Kurtz
30600863cf GP-4516: Improvements 2024-05-06 11:52:01 -04:00