Commit graph

63 commits

Author SHA1 Message Date
Ryan Kurtz
f7c31cc8fc Merge remote-tracking branch 'origin/GP-1073_ghidravore_checking_uses_of_getSymbols_address--SQUASHED' 2021-10-07 08:27:14 -04:00
ghidravore
a8da2b761a GP-1073 updating uses of getSymbols(address) to be more efficient where possible 2021-10-06 16:59:58 -04:00
ghidra1
086714df5f GP-0 Updated FixupCompositeDataTypesScript to support archives 2021-10-05 13:08:28 -04:00
Ryan Kurtz
69e8119211 Merge remote-tracking branch 'origin/GP-773_ghidravore_graph_visualization_options--SQUASHED' 2021-08-09 14:13:19 -04:00
ghidravore
210cc0bca0 Created the concept of graph types and display options for those graph types. 2021-08-09 13:18:23 -04:00
Ryan Kurtz
01699082ea Merge remote-tracking branch 'origin/patch' 2021-07-28 12:49:32 -04:00
ghidra007
e96af04bea GP-1157 Created an example script to show how to do simple program exporting using original file bytes. 2021-07-28 12:29:51 -04:00
ghidra1
16a82642b2 Merge remote-tracking branch 'origin/patch' 2021-07-06 22:02:46 -04:00
ghidra007
90c517fcf9 GP-1095 Fixed duplicate name graph issues in RecoverClassesFromRTTIScript and GraphClassesScript. Fixed class name parsing flaws in GraphClassesScript. 2021-07-06 18:56:18 -04:00
dragonmacher
1321b5bbec GP-1083 - removed outdated script
Closes #1656
2021-06-29 13:47:37 -04:00
ghidra007
e1953ebb22 GP-972 Improvements to Gcc RTTI Class Recovery 2021-06-10 14:19:33 -04:00
ghidra1
ded78ae795 Merge remote-tracking branch
'origin/GP-973_ghidra007_FixUpdateClassVftableStructScript--SQUASHED'
into Ghidra_10.0 (Closes #3081)
2021-06-09 17:17:07 -04:00
ghidra007
b6a5ce659b GP-973 Added ApplyClassFunctionSignatureUpdatesScript and ApplyClassFunctionDefinitionUpdatesScript fix-up scripts for when users update RecoveredClass virtual function signatures or definitions. 2021-06-09 17:08:44 -04:00
ghidra2
18c8e5b8d6 Changed data structure that holds addresses from Set to List. 2021-06-07 13:01:03 -04:00
ghidra2
0ec17a9bb7 Remove another redundant check for file offset < 0
Fixed four comments.
Changed location of call to containsFileOffset() from Memory.java toMemoryBlockSourceInfo.java.  Changed from print() to println() in thepython file.
GP-782: New API to support converting file offsets to memory addresses, with sample scripts that use it
2021-06-03 10:16:57 -04:00
ghidra007
0b2991efd6 GP-863 Search for Image Base Script - fixed subtraction issue 2021-05-19 01:15:03 +00:00
ghidra007
bc561a5bbd GP-863 added table and defined constants per review suggestions. 2021-05-18 23:48:27 +00:00
ghidra007
79e6799ef3 GP-863 SearchForImageBaseScript - added new script 2021-05-18 23:48:25 +00:00
ghidra1
8d9f4b5257 Merge remote-tracking branch
'origin/GP-339_ghidra007_RecoverClassesFromRTTI--SQUASHED'
2021-05-18 19:04:27 -04:00
ghidra007
3d052cde11 GP-339 Added RecoverClassesFromRTTI script and related classes. 2021-05-18 18:53:05 -04:00
ghidra1
4c1354c158 Merge remote-tracking branch
'origin/GP-868_ghidracadabra_PR-2761_xiaoyinl_noreturn--SQUASHED'
2021-05-03 09:59:33 -04:00
ghidra1
d46eb8e996 GP-901 added RegisterBuilder tests 2021-04-30 11:19:14 -04:00
Xiaoyin Liu
4d7e55d913 define a set that contains noreturn syscalls
hardcode noreturn function list
Make LinuxSyscallsScript mark no-return functions
This patch makes the script ResolveX86orX64LinuxSyscallsScript.javarecognize syscalls that do not return, and mark these functions asno-return. The list of non-return functions is read fromElfFunctionsThatDoNotReturn.
2021-04-29 09:31:08 -04:00
ghidra1
8f9b067384 GP-901 added regiater alias support and defined WREG aliases for PIC24
variants
2021-04-28 16:04:03 -04:00
Ryan Kurtz
4a134907f4 Merge branch 'GP-832_ryanmkurtz_PR-2839_tniessen_propogate-task-monitor' 2021-04-02 12:58:33 -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
3fd7b9cdf0 Merge remote-tracking branch
'origin/GP-693_ryanmkurtz_PR-1728_xiaoyinl_fix_missing_quotes' (Closes
#1726, Closes #1728)
2021-03-15 17:49:29 -04:00
Tobias Nießen
682bc88df0
Fix monitor messages for constant propagation 2021-03-14 14:39:12 +01:00
Ryan Kurtz
415a27ccc7 GP-693: Simplifying GhidraJarBuilder 2021-03-12 13:02:01 -05:00
dev747368
33435048de GP-695 Improve DWARF analyzer's runOnce, remove parsing of raw Elf 2021-02-23 15:11:04 -05:00
dragonmacher
d4302549e3 GP-676 - Tweak to the TableChooserDialog API to always use a transaction 2021-02-10 20:35:55 -05:00
dragonmacher
83e6e614a5 GP-676 - Updated TableChooserDialog API to allow for bulk transaction
usage
2021-02-09 17:49:37 -05:00
ghidravore
148c6646f8 Merge remote-tracking branch 'origin/GP-231_dev747368_exportimages_script' 2020-11-24 10:55:08 -05:00
ghidra1
67fb7857c5 GP-260 Added ability to fixup composites due to primitive datatype size
change such as a data origanization may cause.
2020-11-10 13:43:18 -05:00
dev747368
c41e34cbf8 GP-231 update ExportImagesScript
Use currentSelection and allow user to specify output directory.
2020-10-06 21:10:16 -04:00
dragonmacher
8216440278 GP-89 - Scripting - added JSON support via GSON
Closes #1982
2020-09-17 14:17:24 -04:00
dragonmacher
85d1ab7d51 GT-2 - Documentation - fixed missing help links in Decompiler; fixed
script categories
2020-08-05 09:14:21 -04:00
ghidravore
410af5a272 GT-3317
moved generic graph interfaces to features graph module
created graph service broker

first commit of program graph module adapted to new graph api

GT-3317 connected listeners, documented and prettied up code
changed GhidraGraph to preserve order of created graph. Removed edge
filtering from initial program graph display

GT-3317 added exporters for supported formats

GT-3317 fixed GhidraGraph bug where it lost edges

updates

changed to new action builder
removed icons, improved AttributeFilters

removed DialogComponentProviderBuilder
fixed generic alphabet soup

added vertex name updating.

GT-3317 added threading to sugiyama
adapted to take advantage of multi-threaded edge crossing reduction in
circle layout
eliminated parallel edges, improved sizing, updated jungrapht version

GT-3317 fixing AST graph and moving modules and packages
started help
GT-3317 updated min-cross and color selections
uses min-cross that optimizes for graph size

GT-3317 help, javadocs

changes from review comments and cleaning up warnings and simplifying
exporter code
fixing warnings, simplifying unnecessarily complicated code
more changes from review
more changes from review, simplifications. removed unnecessary
threading, renamed vertex, edge, etc
GT-3317 squashed many commits to make rebase easier. Mostly changes from
first code review.
2020-05-13 15:58:03 -04:00
Benjamin Levy
74fae2f644 Merge branch 'master' of
https://github.com/NationalSecurityAgency/ghidra into spell
2020-01-29 11:37:23 -05:00
Benjamin Levy
a5efecea84 Fix spelling errors 2020-01-26 22:39:18 -05:00
dev747368
4fbbe989be GT-3414, issue #1259 - fix GUI lockup when defined strings table loads
A large binary with lots of strings can cause the "Defined Strings"
table to fight with the Listing view over database locks.

This change eases some of the issues by making the defined strings table
be nicer by yielding to the swing thread before starting its query loop
(which allows a Listing view which is also doing its full rendering at
the same time to finish before the loop starts) and making the
DefinedDataIterator a bit smarter about what elements it needs to
recurse into.

The Listing can still be quite a bit laggy when the Defined Strings
table is loading.

Also fixed a logic error in StringDataInstance that caused it to return
a empty string for arrays of character elements.
2020-01-15 13:15:11 -05:00
ghidra1
cf32f48605 GT-3235 Correct parsing of *.ord MS ordinal symbol map files 2019-12-19 11:01:13 -05:00
James
8302bef89a GT-3113 x86/64 linux syscalls 2019-08-27 17:06:20 -04:00
Ryan Kurtz
898425aac4 Merge remote-tracking branch 'origin/GT-2949-dragonmacher-deprecated-script-methods' 2019-07-18 12:24:25 -04:00
dragonmacher
d4bb3e945d GT-2949 - Scripting - removed old deprecated methods 2019-07-18 11:42:21 -04:00
Ryan Kurtz
10372c2e13 Merge remote-tracking branch 'origin/GT-2925-dragonmacher-window-menu-key-bindings' 2019-07-15 16:12:09 -04:00
ghidra1
e0e2c58eb7 Merge remote-tracking branch 'origin/ghidra1_Emulator'
Conflicts:
	gradle/root/eclipse.gradle
2019-07-12 16:14:17 -04:00
dragonmacher
6015650079 GT-2925 - Key Bindings - Support Window Menu Provider Key Bindings -
test and review fixes
2019-07-08 17:41:56 -04:00
Ryan Kurtz
c2c9ac21c0 GT-2966: SymbolType is missing a LABEL static field (closes #712). 2019-07-02 10:25:34 -04:00