Commit graph

796 commits

Author SHA1 Message Date
Ryan Kurtz
ab29958ddc Merge remote-tracking branch 'origin/GT-3388-dragonmacher-dt-tree-dbl-clck-edit-bug' 2019-12-12 11:36:56 -05:00
dragonmacher
39ddb99e55 GT-3388 - fixed bug in DT tree that cause a double-click expansion to
also edit a different node
2019-12-12 11:21:47 -05:00
Ryan Kurtz
fc7b168c67 Merge remote-tracking branch 'origin/patch' 2019-12-12 08:11:23 -05:00
emteere
5f80a04321 GT-3373_emteere fix for constant propagation in overlay spaces 2019-12-11 12:47:45 -05:00
dev747368
9baf8d840c GT-3325 fix problem with data type archive node adding twice to tree
Tree node for a data type archive could be added twice, causing display
problems and NPE when closing because of double-closing.
2019-12-11 10:09:28 -05:00
Ryan Kurtz
e91d6a832c Merge remote-tracking branch 'origin/GT-3354_ryanmkurtz_guava' 2019-12-09 13:58:24 -05:00
Ryan Kurtz
5d3b179f5a Merge remote-tracking branch 'origin/GT-3381_ryanmkurtz_PR-1312_xiaoyinl_ne_flag' 2019-12-09 13:30:51 -05:00
Ryan Kurtz
3deb778edb GT-3381: Fixing compilation error and formatting code 2019-12-09 13:27:25 -05:00
Ryan Kurtz
9d275b59b5 Merge branch 'GT-3377_ryanmkurtz_PR-1325_xiaoyinl_NTheaderName' 2019-12-09 09:46:06 -05:00
Ryan Kurtz
e53e4c99fc GT-3354: Code review fixes 2019-12-09 09:06:33 -05:00
Ryan Kurtz
4dda550e8f Merge remote-tracking branch 'origin/GT-3359_dev747368_moving_datatypes' 2019-12-09 08:00:47 -05:00
Xiaoyin Liu
7f8d1bce6c PE: Fix NTHeader name
The NT Header name of a PE file should be IMAGE_NT_HEADERS32 for 32-bit file
or IMAGE_NT_HEADERS64 for 64-bit file. This name shouldn't be hardcoded to
IMAGE_NT_HEADERS32.
2019-12-08 22:29:26 +08:00
dev747368
c7cdaaf07a GT-3330 DWARF address double relocation fixup
DWARF was applying a fixup value to address values in the DWARF data to
compensate for the Ghidra base-address being different than the
program's requested base address.

In binaries (mostly .o files) that contain Elf fixups that reach into
the DWARF debug sections and rewrite the address values, the Ghidra
importer would handle fixing the address values to point to the
non-standard Ghidra base-address, and then the global fixup would be
applied to the already correct value, causing it to be incorrect.

This change checks to see if any relocations are present in the DWARF
debug data and disables its address fixups if found.
2019-12-06 09:49:41 -05:00
dragonmacher
adedcde30f Tests - fixed exception seen sporadically in tests due to improper Data
type Manager disposal
2019-12-05 17:36:20 -05:00
Ryan Kurtz
2a64cf2a77 GT-3354: Removing some Guava 2019-12-05 14:34:03 -05:00
ghidra1
e07c83334d Merge remote-tracking branch 'origin/patch' 2019-12-05 11:48:31 -05:00
ghidra1
88a19c81d4 Corrected Find Checkouts help and incorrect regex in UserManager 2019-12-05 10:56:49 -05:00
dragonmacher
19823c5db5 GT-3292 - Decompiler - Secondary Highlights - Checkpoint 2 - Base
features implemented with tests; still need color persistence; help
2019-12-04 18:11:21 -05:00
dragonmacher
42399ef26b GT-3372 - fixed exception when right-clicking a program tab with a
global popup action installed
2019-12-04 16:40:18 -05:00
ghidra1
84b9c4d6c4 Merge remote-tracking branch 'origin/GT-0-dragonmacher-test-fix-12-4' 2019-12-04 16:20:44 -05:00
ghidra1
39660177b7 Merge remote-tracking branch 'origin/patch' 2019-12-04 16:18:15 -05:00
ghidra1
ea4407f0e8 GT-3371 corrected Create Default Reference action for data component
level use
2019-12-04 16:17:03 -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
Ryan Kurtz
37e65ee580 Merge remote-tracking branch
'origin/GT-3352-dragonmacher-structure-editor-task'

Conflicts:
	Ghidra/Framework/Generic/src/main/java/generic/test/AbstractGenericTest.java
2019-12-04 13:42:36 -05:00
dragonmacher
e0e375b760 Tests - fixed test framework code to handle recently changed data type 2019-12-04 12:59:16 -05:00
dragonmacher
5a3deaa7f6 GT-3352 - Structure Editor - 'Delete Selected Components' - review fixes 2019-12-04 11:22:51 -05:00
Xiaoyin Liu
60ea349684 More update (2/2) 2019-12-04 20:11:52 +08:00
Xiaoyin Liu
b8026cce4e More update regarding application flags of NE files
Reference:
https://github.com/kichik/pecoff4j/blob/master/docs/exe-win.txt
2019-12-04 20:10:11 +08:00
Xiaoyin Liu
1c21df6292 Update flag mapping
The bit mapping of the application flags in Ghidra is different from the
one documented on https://www.fileformat.info/format/exe/corion-ne.htm.
This patch updates it to match the document.
2019-12-04 18:39:50 +08:00
Xiaoyin Liu
df5b6b20ef Fix Windows NE flag parsing error
FLAGS_APP_FULL_SCREEN, FLAGS_APP_WIN_PM_COMPATIBLE, and
FLAGS_APP_WINDOWS_PM are numbers, not bit flags. The function should
check if the low-order two bits equal to any of these, rather than if
the bit is set.

Reference: https://www.fileformat.info/format/exe/corion-ne.htm
2019-12-04 17:12:24 +08:00
ghidravore
1eff5a8511 Merge remote-tracking branch 'origin/GT-0-dragonmacher-test-fixes-12-3' 2019-12-03 16:44:22 -05:00
ghidravore
20f5f53778 GT-0 fixed miscellaneous tests failing 2019-12-03 16:42:49 -05:00
dragonmacher
dba6e117b8 Tests - fixed test failing due to recent GTree refactor 2019-12-03 15:48:08 -05:00
ghidra1
5d9b736c5e Updated test 2019-12-03 14:07:47 -05:00
ghidra1
fa0a92e055 Added disabled test to demonstrate datatype replace pointer/array issue 2019-12-03 14:06:11 -05:00
dragonmacher
063358fc27 Tests - fixed CallNodes to correctly allow duplicates 2019-12-03 13:08:24 -05:00
Ryan Kurtz
36a628ae97 Merge remote-tracking branch 'origin/GT-3350_ryanmkurtz_ExtensionPoints' 2019-12-03 10:13:23 -05:00
Ryan Kurtz
8f00152601 GT-3350: Consistently ordered classpath and ExtensionPoint priorities 2019-12-03 10:04:56 -05:00
dragonmacher
291e61b0c6 GT-3352 - Structure Editor - 'Delete Selected Components' put into a
task to not lock-up the UI
2019-12-02 17:21:39 -05:00
Ryan Kurtz
6e6bdffe86 Merge branch 'GT-3362_ryanmkurtz_PR-1287_astrelsky_DocumentationFixes'
Conflicts:
	Ghidra/Framework/Docking/src/main/java/docking/action/DockingAction.java
2019-12-02 13:22:08 -05:00
astrelsky
ebde7cd6d2
Javadoc Fixes 2019-12-01 21:58:51 -05:00
ghidravore
ac66dab16b GT-0 fixing junit tests 2019-11-29 18:40:49 -05:00
dragonmacher
b126f6bd06 Tests - fixed failing tests 2019-11-29 16:31:34 -05:00
dragonmacher
e619d07ee1 GT-3292 - Decompiler - Secondary Highlights - Checkpoint 1 - More tests
needed; more design refactor needed; help needed
2019-11-27 18:38:35 -05:00
dragonmacher
f9a0d814ef GT-3352 - Structure Editor - 'Duplicate Selected Component' put into a
task to not lock-up the UI
2019-11-27 14:54:49 -05:00
Ryan Kurtz
fcc5b18683 Merge remote-tracking branch 'origin/patch' 2019-11-27 08:55:04 -05:00
Ryan Kurtz
370e909a55 GT-3261: Improving sort 2019-11-27 08:51:58 -05:00
Ryan Kurtz
288969711f Merge remote-tracking branch 'origin/GT-3348_ghidravore_dynamic_symbol_names' 2019-11-27 08:01:31 -05:00
ghidra1
ee25a7d0cc Merge remote-tracking branch 'origin/patch' 2019-11-26 12:37:20 -05:00
ghidra1
ea5b523f82 Improved DB error handling to better react to future DB schema revisions 2019-11-26 12:30:39 -05:00