Commit graph

160 commits

Author SHA1 Message Date
James
dadfaae8c9 GP-5104 get calling/called functions fixes 2024-12-02 08:39:14 -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
Ryan Kurtz
6439d61594 Merge remote-tracking branch 'origin/GP-4193_dev747368_dwarfline_source_info--SQUASHED' 2024-03-28 12:36:22 -04:00
dev747368
e3b75fe9f7 GP-4193 DWARFLine support, remove DWARF Line analyzer, misc fixes
Refactor the old DWARF line code used by the line analyzer.
Fix v4 location list reading when there was an empty range entry.
Defer applying the ELF program address fixup value until a DWARF address(held in a long) is converted into a Ghidra address.
Fix v5 location list reading - add missing DW_LLE_default_location impl.
2024-03-27 16:45:20 -04:00
ghidra1
2dff876f0f GP-4341 Force retained checkout if file is in-use during checkin or add-to-version-control. Deprecated upgrade concept during checkin. Revised manner in which file open for update is updated following a version control operation (perform DBHandle update). 2024-03-20 17:43:49 -04:00
dev747368
f17ebb78ab GP-2798 initial DWARF5 support
Adds support for simple DWARF5 debug info.  Split .dwo not supported.

Uses bookmarks to tag problematic issues instead of log messages during import.
2024-03-11 16:26:06 +00:00
ghizard
f1495cb6a1 GP-4246 - PDB improve types processing - better queuing mechanism, remove placeholder types, delay resolve 2024-02-27 11:17:35 -05:00
ghidra1
5dc7347eee GP-4340 Improved datatype conflict name handling 2024-02-23 16:24:22 -05:00
Ryan Kurtz
bc24351495 Merge branch 'GP-4034_thisita_fixOffcutScript--SQUASHED' (Closes #5928) 2024-02-07 13:31:55 -05:00
Thisita
ea990915b4 remove old error bookmark
refactor to more correct API call
fix address range bug
refactor find already set length to default search and short-circuit
Correct error message to be more appropriate for all cases
Only suggest properly aligned offsets
Don't consider the first address
bugfix, iterator can be null. Check all references.
Implement fixed suggestions to avoid getNextInstruction and ClearCmd
usage.
switch to isFlow test
make easier to read
implement flow check
implement script message
strict variable rename suggestion
fix location of check and address mark
typo/grammar catch
Simplify as requested
add length check and fix a few iteration bugs
suggest offcut length if override doesn't already exist
comment is overcomplicated for a previous explanation
this comment was no longer true
explain this as what is actually happening now
other summary fixups
add suggestion
Length override action should disassemble the resulting instructions
remove info alert that isn't needed since there is a bookmark
remove unused check
Only init once per run
refactor to flow the code
Don't let a failed fix block the rest of the script iteration
Replace print with Msg statements
Provide more thorough error reporting
imply to user that work is still being done
apply language suggestion
check alignment and fix max address bug
restrict this again
remove unused memory handle
Refactor to use declared types
Simplify disassembly and computations
pass offcutAddress instead of recomputing some other one.
decrease level of specificity and disqualify.
apply suggestion
apply indentation suggestion
correct ref type filter to correct
Apply simplification
fix max address issue.
implemented suggestion with flow follow
update description to include location fallback info
Simplify bookmark
Add missing final
2024-02-07 13:27:23 -05:00
Ryan Kurtz
c3acc2abad GP-4294: Fixing typo 2024-02-07 11:25:07 -05:00
Ryan Kurtz
80d1031d01 Merge remote-tracking branch 'origin/patch'
Conflicts:
	Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/help/ProcessorListPlugin.java
	Ghidra/Framework/Gui/src/main/java/ghidra/util/HTMLUtilities.java
2024-02-07 11:18:36 -05:00
dragonmacher
359faba77a GP-4294 - Fixed exception looking for extensions when running headlessly in fat jar mode 2024-02-06 17:01:02 -05:00
dev747368
3fe17e182a GP-4205 refactor DWARF DIE reading
Change how DWARF DIE records are read, eliminate need for
per-CU paging or the need for the DIE import limit or for
DIE pre-load for cross-CU references.
2024-02-01 20:56:48 +00:00
Dan
e7458ed08b GP-4185: Make Assembler more extensible 2024-01-08 11:23:32 -05:00
Dan
b382017ccb GP-4014: Context and disasembly re-flow after patching instruction. 2024-01-04 14:04:42 -05:00
ghidragon
514c04906b GP-4040 added ability for scripts to open programs that need to be upgraded, with ask options 2023-12-05 18:38:24 -05:00
ghidragon
9cd2666799 GP-3992 fixed various issues/bugs related to the new askValues() script method 2023-11-06 15:40:38 -05:00
ghidragon
e71d5f8faf GP-3924 Added askValues() method to GhidraScript. Allows users to enter
multiple values with one dialog.
2023-10-27 19:04:26 -04:00
ghidra1
6412631236 GP-3949 Added FixOldSTVariableStorageScript 2023-10-20 16:00:43 -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
9d3d32a8c4 Merge remote-tracking branch 'origin/patch' 2023-08-03 06:03:45 -04:00
ghidra1
8073611e66 GP-0 Added FindDataTypeConflictCauseScript 2023-08-02 14:47:34 -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
Xiaoyin Liu
02598e4c5d
Close FileDataTypeManager in CompareGDTs.java
`firstArchive` and `secondArchive` are not closed, which causes errors the next time you run this script with the same GDTs, because the two GDT files are still in use.
2023-05-28 19:09:43 +04:00
emteere
ebe495d99a GP-0 Fixed updated archive category path name case to agree with old
archive category path names
2023-05-02 18:51:33 +00:00
Ryan Kurtz
7fa3389119 GP-2974: Fixing warnings 2023-05-01 07:23:48 -04:00
Ryan Kurtz
5b6a902c8c Merge remote-tracking branch 'origin/GP-3077_emteere_CrossedConstants--SQUASHED' 2023-05-01 06:25:01 -04:00