Commit graph

318 commits

Author SHA1 Message Date
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
fcb3151f94 GT-3294 Added support for DB FixedField with improved indexing. 2020-11-23 14:30:38 -05:00
dragonmacher
ccedc6627a GP-210 - Added new 'Copy Special' items to make copying from Ghidra to
Python and C++ easier
2020-11-23 13:36:29 -05:00
ghidravore
e6fe576b87 Merge remote-tracking branch
'origin/GP_371_ghidravore_vertex_collapse--SQUASHED'

Conflicts:
	Ghidra/Features/GraphServices/src/main/java/ghidra/graph/visualization/DefaultGraphDisplay.java
2020-11-20 16:52:32 -05:00
ghidravore
724ab5a950 removed dead code
Incorporates the Jungrapht 'collapse nodes' feature into ghidra graphing.
2020-11-20 16:48:12 -05:00
ghidra1
29a3732adc Merge remote-tracking branch 'origin/patch' 2020-11-16 16:16:39 -05:00
ghidravore
6648cbb8cb Merge remote-tracking branch
'origin/GT-0_ghidravore_fixing_missing_invalide_cache_method_in_FunctionTagManager'

Conflicts:
	Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/tags/FunctionTagsComponentProvider.java
2020-11-05 17:39:50 -05:00
dragonmacher
ea851ffe7b GP-272 - Gnu Demangler - updated to handle a lambda function as a
function parameter
2020-11-05 16:22:58 -05:00
dragonmacher
0fcdb7c6c3 Function Tags - updated DB to have a tag count cache; added service
interface
2020-11-04 16:35:31 -05:00
ghidravore
b88c949c6b Merge remote-tracking branch 'origin/Ghidra_9.2' 2020-11-02 14:44:34 -05:00
ghidravore
e169e28b48 Merge remote-tracking branch 'origin/GP-310-dragonmacher-graph-service-mouse-handling--SQUASHED' into Ghidra_9.2 2020-11-02 14:19:02 -05:00
ghidravore
d9a1c8906f GP-310 - Graphing - Updated mouse handling to be consistent with other graph widgets. 2020-11-02 14:15:01 -05:00
ghidra1
15a3b26b8e PDB - standardized use of PDB storage preference and hid
PDB Universal options intended for loader use.
2020-11-02 12:45:48 -05:00
dragonmacher
edc8efdbf6 GP-256 - Graphing - fixed AST graph exceptions 2020-10-28 17:52:12 -04:00
dragonmacher
77ee698797 GP-266 - Function Tags - updated function tags to load tags in a
background thread

Closes #2366
2020-10-21 13:40:03 -04:00
ghidravore
592b8a3cfc Changed graph api to use vertex and edge object instead of ids. 2020-10-09 14:27:29 -04:00
ghidravore
532a1d4fd0 Adding capbility to add DockingActions to GraphDisplay. Also, wired in the help for existing actions. 2020-10-07 17:58:48 -04:00
ghidra1
3452940147 GP-145 Removed obsolete analyzer support code 2020-09-08 13:33:10 -04:00
dragonmacher
fc247aa499 GP-65 - Error Dialog - updated the error dialog to accumulate errors
while it is open instead of repeatedly showing new dialogs
2020-09-02 14:25:05 -04:00
Jason P. Leasure
1a598f26b2 make sure the user scripts dir exists before creating a script in it 2020-07-29 10:02:27 -04:00
Jason P. Leasure
0d520dae16 style fixes for review 2020-07-28 16:56:09 -04:00
Jason P. Leasure
2015f13542 style fixes in ghidra.app. {plugin.core.script script} 2020-07-28 16:56:09 -04:00
Jason P. Leasure
9216a940dc save/restore active bundles, use generic.util.Path string encoding 2020-07-28 16:56:08 -04:00
Jason P. Leasure
2b49816c6c factor GhidraScriptInfoManager out of GhidraScriptUtil
- move bundlehost to ghidrascriptmgrplugin
2020-07-28 16:56:08 -04:00
Jason P. Leasure
49e3d6dcdc tease out GhidraScriptUtil state, clarify headless and headed cases
- GhidraScriptUtil how has (static) initialize & dispose
  - initialize is either through (headed/GUI) GhidraScriptMgrPlugin or
    directly (headless)
- BundleHost
  - now owns bundle paths (script dirs)
  - save and restore to SaveState for use by GUI
  - no static instances
  - GhidraScriptUtil BundleHost coincides with GUI's when both are used
  - generates events
  - conservative use of auto-vivification
- BundleStatusCompoentProvider / PathManager
  - better split between GUI & model
  - subscribes to GUI's BundleHost for events
  - provider registers for generated events, controls BundleHost
2020-07-28 16:56:07 -04:00
Jason P. Leasure
431d7ac752 introduce GhidraBundle, cleanup packages, rename path->status 2020-07-28 16:56:07 -04:00
Jason P. Leasure
f39d55cca1 start connecting OSGi to bundlestatusmanager
- minimize access to BundleHost instance (JavaScriptProvider is still bad)
- BundlePath
  - restrict construction to osgi package
  - remove "editable" attribute and fix incorrect reference
  - remove references in GhidraScriptUtil
    - BundlePath attribute choice came down only to system or user
    - user filtering on "enabled" were redundant
- move compilation from JavaScriptProvider to BundheHost
2020-07-28 16:56:07 -04:00
Jason P. Leasure
d8610b00be improve model/view split in bundle status, more nomenclature fixes 2020-07-28 16:56:07 -04:00
Jason P. Leasure
ad897f263c rename variables, move bundlehost instance, clean dead fileinstaller code 2020-07-28 16:56:07 -04:00
Jason P. Leasure
2e05da019f move bundle path manager to core as a ComponentProvider for bundle status
- PathManager was most of a ComponentProvider anyway, so this isn't a
  huge change
- this makes bundle status available w/out the GhidraScript component
- it's no longer modal, e.g. script directory list updates are immediate
2020-07-28 16:56:07 -04:00
Jason P. Leasure
092d716e96 update tests
- note: timeout increased by 33% in waitForTaskEnd because the entire
  script directory needs to compiled now
- complete recursive wipe of binary artifacts added to @After action
2020-07-28 16:56:07 -04:00
ghidra1
fd0e66d812 Merge remote-tracking branch 'origin/GP-38_ghidra1_CaseInsensitiveRegisterLookup' 2020-07-24 16:16:08 -04:00
ghidra1
e39b2e9ea9 GP-38 Refactored language/context related APIs to return unmodifiable
lists instead of arrays for some register related methods
2020-07-21 19:10:19 -04:00
dragonmacher
3be8657ff3 GT-3645 - Gnu Demangler - update parser to handle the 'unnamed type' 2020-07-21 17:09:12 -04:00
ghidra1
58157a1175 Changed JUnit tests to resolve register case sensitivity issues 2020-07-17 10:57:01 -04:00
ghidravore
2647f67be0 fixed junits for SetLanguageTest 2020-06-29 13:31:17 -04:00
ghidravore
9bd4358594 Github-1996 duplicate actions appearing in ProjectDataDialog. Also,
actions that don't belong in DataTreeDialog showing up.
2020-06-19 16:21:05 -04:00
ghidra1
c2d9629f57 GT-3571 Numerous changes to datatype resolve/replace addressing
performance and conflict handling.  Corrected composite merge
deficiencies.  Added datatype resolve/equivalence caches for performance
improvement.  Added deferred pointer resolution for structures and
unions.  Corrected datatype parent/child update
2020-06-03 17:58:59 -04:00
ghidra1
2885f74867 Merge branch 'ghidra1_ByteMappedBlocks' 2020-05-14 15:30:43 -04:00
ghidra1
6ff98a4098 Modified Memory API for creating Overlay blocks allow for
byte/bit-mapped overlays.  Added ByteMappingScheme for byte-mapped
blocks.
2020-05-14 15:28:27 -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
ghidorahrex
f1782a7629 Merge remote-tracking branch
'origin/GT-3545-dragonmacher-gnu-demangler-parsing-bugs'

Fixes #1457 Fixes #1569
2020-03-13 12:51:40 -04:00
dragonmacher
cb234b09a9 GT-3545 - GNU Demangler - Fix Parsing Issues - review fixes; bug fixes 2020-03-11 16:58:51 -04:00
ghidravore
83e0ce4091 Merge remote-tracking branch 'origin/GT-0-dragonmacher-test-fixes' 2020-03-10 17:50:28 -04:00
ghidra1
2936493408 Merge remote-tracking branch 'origin/patch' 2020-03-10 16:32:39 -04:00
dragonmacher
6b468e196a Tests - fixes related to recent dialog actions update 2020-03-10 16:29:28 -04:00
ghidra1
66cc2ed90a GT-3588 corrected duplicate front-end action error on server connect.
Minor cleanup of server code.
2020-03-10 16:24:46 -04:00
dragonmacher
11619169b4 GT-3545 - GNU Demangler - Fix Parsing Issues - Ready for Review 2020-03-02 14:22:23 -05:00
ghidorahrex
9f66126cef Merge remote-tracking branch 'origin/GT-3547-dragonmacher-patch-dir-fix' 2020-02-24 13:47:12 -05:00
ghidra1
45778b0117 Merge remote-tracking branch
'origin/GT-3512_dev747368_dataconverter_fixes'
2020-02-21 14:33:57 -05:00