Commit graph

355 commits

Author SHA1 Message Date
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
ghidra1
c828b13a7a Merge remote-tracking branch 'origin/GT-3448_emteere_LargeDisPerf' 2020-02-21 14:00:10 -05:00
dragonmacher
2a19e23377 GT-0 - Test Fixes - fixed gnu demangler test that needed the deprecated
demangler
2020-02-20 14:41:03 -05:00
dragonmacher
87bda2b34d GT-3547 - Patch dir fix - review fixes 2020-02-19 18:50:52 -05:00
emteere
a9c7e69ac3 GT-3448_emteere_LargeDisPerf tweak for finding next undefined data 2020-02-19 22:47:56 +00:00
dragonmacher
b4ce3012d7 GT-3481 - Gnu Demangler - Checkpoint 2 - Most docs and tests done;
analyzer test remains
2020-02-12 18:21:10 -05:00
emteere
cd650d0103 GT-3448_emteere_LargeDisPerf simple better byte buffering 2020-02-12 15:07:51 -05:00
dev747368
e4372a30f1 GT-3512 refactor tests to use bytes() helper method, javadoc.
Allows getting rid of out-of-place ByteMemBufferImpl ctor.
Fix javadoc
2020-02-10 09:57:09 -05:00
dragonmacher
0ff6578d2c GT-3495 - Refactor tool hierarchy to remove old 'Tool'
GT-3495 - GT-3495 - Refactor tool hierarchy to rename DockingTool to
Tool
2020-01-24 18:35:11 -05:00
adamopolous
496408f2b7 GT-2999: fixed how comparison action is set to SHARED 2020-01-03 14:56:31 -05:00
dragonmacher
94e17242ee GT-2229 - Function Comparison - screenshot library fixup 2020-01-03 14:55:23 -05:00
adamopolous
a682ef31ea added domain object listener for function remove events 2020-01-03 14:55:21 -05:00
Ryan Kurtz
cf4328bda4 Merge remote-tracking branch
'origin/GT-3302-dragonmacher-front-end-ui-lockup'

Conflicts:
	Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/DataTypeManagerPlugin.java
2019-12-19 15:30:21 -05:00
Jeremy Lacomis
e14d061e33 Fix "Propery" typos. 2019-12-19 13:00:59 -05:00