Commit graph

129 commits

Author SHA1 Message Date
ghidra1
cc483f08ab Merge remote-tracking branch 'origin/patch' 2021-01-11 18:50:07 -05:00
Jason P. Leasure
e4e15cdb9d don't assume that scripts are Java, fixes #2562 2021-01-11 09:33:48 -05:00
ghidra1
db1e3d1b62 Renamed Record class to DBRecord 2020-12-28 13:30:36 -05:00
ghidravore
6dc9b3387d GP-440 Refactored graph exporters to be more extensible and easy to use in scripts 2020-12-08 17:04:30 -05:00
ghidravore
b23c8ca435 Merge remote-tracking branch 'origin/patch' 2020-11-30 16:52:08 -05:00
dragonmacher
2ac0bf1edf Updated test suite to avoid compiler failure due to 'integration test'
not having test compile dependency on the 'byte viewer' module
2020-11-25 20:31:33 -05:00
ghidravore
1259632113 fixed stack trace when exporting 2020-11-25 13:11:16 -05:00
ghidra1
941ba0caf9 Merge remote-tracking branch 'origin/GT-3294_ghidra1_DBFixedField_update' 2020-11-24 17:22:54 -05:00
ghidra1
133d6c251f Merge remote-tracking branch 'origin/patch' 2020-11-24 11:39:15 -05:00
ghidravore
f76577e99b Merge remote-tracking branch 'origin/GP-210_dragonmacher_PR-744_S-S-P_master' 2020-11-24 10:57:00 -05:00
ghidravore
bc6613141d added dialog for user to change name of group vertices as they are created 2020-11-24 10:40:28 -05:00
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