Commit Graph

179 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
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
ghidra1
8fbdec4eca Merge remote-tracking branch 'origin/patch' 2019-12-18 11:02:47 -05:00
ghidra1
40fb5596e3 GT-0 Corrected test failures 2019-12-17 15:33:39 -05:00
Ryan Kurtz
77f659c84d Removing impossible to reach code. 2019-12-16 08:30:17 -05:00
ghidra1
e07c83334d Merge remote-tracking branch 'origin/patch' 2019-12-05 11:48:31 -05:00
ghidra1
1c7a5ed1db Merge remote-tracking branch 'origin/GT-0-dragonmacher-vc-actions-12-5' into patch 2019-12-05 11:33:10 -05:00
dragonmacher
725bdee15e Tests - fixed tests for Version Control actions in the 'Find Checkouts'
dialog
2019-12-05 11:28:27 -05:00
ghidra1
88a19c81d4 Corrected Find Checkouts help and incorrect regex in UserManager 2019-12-05 10:56:49 -05:00
dragonmacher
474780e245 GT-0 - Tests - added better toString() methods to track threading issue
exposed by tests
2019-12-04 13:50:05 -05:00
dragonmacher
dece22fd8c Tests - fixed typo in test 2019-11-25 15:18:08 -05:00
adamopolous
bddb1a5518 GT-3054: Updated function tag panel to include table showing all
functions using a tag
2019-11-19 15:18:18 -05:00
dragonmacher
86c1d4b3c6 GT-3302 - Front-end UI freeze when performing checkout of multiple files 2019-11-08 14:51:07 -05:00
Ryan Kurtz
f5aeb0c70d Merge remote-tracking branch
'origin/GT-3233-dragonmacher-fg-navigation-history' (closes #1115)
2019-11-06 13:40:51 -05:00
dragonmacher
bbe4b89a0d GT-3155 - Copy Special - allow the Copy Special action to work on the
current address when there is no selection
2019-10-30 11:46:30 -04:00
Ryan Kurtz
3051601206 Merge remote-tracking branch
'origin/GT-3226-dragonmacher-tables-slow-sorting' (closes #500)
2019-10-29 13:04:51 -04:00
Ryan Kurtz
7b76afee93 Merge remote-tracking branch 'origin/GT-3225_ghidravore_tree_filtering' 2019-10-24 08:40:24 -04:00
ghidravore
5c6b32714c Changes to the GTree code to improve performance. Completely changed
GTreeNode base implementations and filtering code.
2019-10-23 15:45:00 -04:00
dragonmacher
fc67c6aaeb GT-3226 - Symbol Table - Performance improvements - disable filtering on
some columns; turn on 'Name Only' filtering by default; disable sorting
by default; remove use of column mapping where not needed; fixed caching
for name column
2019-10-22 18:36:41 -04:00
dragonmacher
8eef7ddc0a Tests - fixed ToolActionsManagerTest 2019-10-09 11:51:56 -04:00
ghidra1
bb27721a1f GT-3208 Corrected ability to cancel versioned file checkin/checkout.
Strip domain prefix from default user name if present.  Other minor
usability adjustments.
2019-10-02 16:28:12 -04:00
dragonmacher
16a6b4eb52 GT-3193 - Tool - Fixed bug that caused exported tool to exclude plugin
config settings
2019-09-27 15:21:57 -04:00
adamopolous
15af121bea created resources folder in integrationTest project; made test resources
in Base available to IntegrationTest project
2019-09-18 09:18:27 -04:00
adamopolous
047404c80d fixing test problems 2019-08-28 10:46:12 -04:00
Ryan Kurtz
23c9319151 Merge remote-tracking branch 'origin/GT-3086_ghizard_update_help_screenshots_for_GT-3076' 2019-08-20 14:08:17 -04:00
dragonmacher
dfcba5f39e GT-3035 - Restore Integration Tests - test fixes 2019-08-15 18:32:23 -04:00
ghizard
264f63b758 GT-3086 check-in of changes 2019-08-15 17:08:46 -04:00
dragonmacher
554bce2407 GT-3035 - Restore Integration Tests - more missing test files; updated
test environment to install a default tool
2019-08-15 14:58:43 -04:00