Commit Graph

11903 Commits

Author SHA1 Message Date
Ryan Kurtz
515aa0962c Fixing a couple of comments. 2019-04-25 13:29:45 -04:00
ghidra4
344d3f6b35 buildDecompilerDocumentationHtml and buildDecompilerDocumentationPdfs fixed paths to resource files 2019-04-25 13:29:29 -04:00
ghidra1
a28ebc6ff2 GT-2740 revision to facilitate test use of ServerAdmin utility 2019-04-25 11:46:25 -04:00
dragonmacher
fefb0f0208 GT-2824 - Comments - spelling fix 2019-04-25 11:44:45 -04:00
caheckman
7eb614ab88 GT-2755: certified
Pulled-from: Markus Piéton <marpie@a12d404.net>
2019-04-25 11:33:58 -04:00
Markus Piéton
9f22dccb9a Callfixup for _guard_dispatch_icall on x86-64-win
Change goto to call
As pointed out by @caheckman [here](https://github.com/NationalSecurityAgency/ghidra/pull/340#issuecomment-482248465) the `goto` should be a `call`.
2019-04-25 11:33:57 -04:00
caheckman
b8e52153c3 Fix for 1-field structure bug 2019-04-25 11:33:56 -04:00
caheckman
83e4461b2a Fix for Github #336: equates in 16-bit x86 2019-04-25 11:33:55 -04:00
adamopolous
59fb950c79 GT-2801: fixed analysis options bug causing apply button to not be
activated
2019-04-25 11:13:09 -04:00
ghidravore
cf9db2a078 Merge remote-tracking branch 'origin/James-GT_2816' 2019-04-24 18:16:50 -04:00
dragonmacher
d33ffc2855 GT-2824 - Comments - fixed infinite loop when editing comments 2019-04-24 18:16:14 -04:00
ghidravore
b49989bfa3 Merge remote-tracking branch 'origin/GT-2830-dragonmacher-help-fix' 2019-04-24 18:12:13 -04:00
ghidravore
ed6378cd77 Merge remote-tracking branch 'origin/GT-2818-dragonmacher' 2019-04-24 18:11:01 -04:00
ghidravore
29e6df1c38 Merge remote-tracking branch 'origin/gt-2758_dev747368_zipfilesystem_npe' 2019-04-24 18:06:35 -04:00
dragonmacher
49436c44a9 Help - Added a task to find unused help images; fixed showing in-memory
images in help
2019-04-24 17:48:44 -04:00
dragonmacher
e8dcb3d0c4 Help - removed unused images 2019-04-24 17:47:33 -04:00
dev747368
e8343999d4 GT-2832 - fix Data Type Preview to allow string data types. 2019-04-24 16:48:29 -04:00
ghidravore
227be22a1f Merge remote-tracking branch 'origin/GT-2740_ghidra1_svrAdmin' into patch 2019-04-24 16:08:51 -04:00
ghidravore
03ae66cb95 Merge remote-tracking branch 'origin/GT-2820_caheckman_PR-364_achan1989_sleighParserFix' into patch 2019-04-24 16:06:37 -04:00
dev747368
eeea912c4d GT-2698 - fix HTML for dropdown text field's preview window 2019-04-24 12:54:53 -04:00
dragonmacher
286c25137f Minor refactoring to move image scaling code to ImageUtils 2019-04-24 10:26:32 -04:00
dragonmacher
24313e73ee GT-2831 - Demangler - Fixed the name trimming bug for names that are too
long
2019-04-24 10:17:37 -04:00
dev747368
c7ce28e94c GT-2698 - fix for tests so Swing isn't dragged in 2019-04-23 17:05:03 -04:00
dev747368
5764e7174e GT-2698 fix a bad test
Test was comparing classes backwards.
2019-04-23 17:05:02 -04:00
dev747368
1f36a7616c GT-2698 - code review fixes - delete unused class, fix amp escape 2019-04-23 17:05:01 -04:00
dev747368
18bb622081 GT-2698 code review 2019-04-23 17:04:59 -04:00
dev747368
d7410690ff GT-2698 - convert JRadioButton to GRadioButton 2019-04-23 17:04:58 -04:00
dev747368
3c0484cae3 GT-2698 - convert JCheckBox to GCheckBox 2019-04-23 17:04:57 -04:00
dev747368
40daea1a56 GT-2698 - code-review fixes, javadocs 2019-04-23 17:04:56 -04:00
dev747368
fa7173f9ab GT-2698 - fix html escaping to use simpler method. 2019-04-23 17:04:55 -04:00
dev747368
6448f0da8f GT-2698 refactor JLabel -> GLabel, JComboBox -> GComboBox, renderers. 2019-04-23 17:04:53 -04:00
dev747368
e0c25b0590 GT-2698 refactor UI elements to lock down HTML rendering 2019-04-23 17:04:51 -04:00
ghidravore
df24f9ea24 Merge remote-tracking branch 'origin/ghidravore_gradle_updates' 2019-04-23 15:25:17 -04:00
ghidravore
f1e50fb079 Major refactoring of the gradle build system. 2019-04-23 15:20:26 -04:00
dragonmacher
6805e36527 Tests - fix for timing issue in midday 2019-04-23 14:50:06 -04:00
dragonmacher
05472d1222 GT-2830 - Help - fixed NPE when navigating help UI 2019-04-23 14:30:18 -04:00
ghidravore
70bc692900 Merge remote-tracking branch 'origin/dragonmacher-graph-algo-find-paths-fix' 2019-04-22 16:06:52 -04:00
dragonmacher
7d722cd8c3 Graph Find Paths Iterative Algorithm 2019-04-22 16:04:21 -04:00
Anciety
0a3b1c6b49 fix indentation issue 2019-04-20 08:56:47 +08:00
Ryan Kurtz
e9fa9a8502 Fixing Ghidra version number. 2019-04-19 11:05:08 -04:00
Alessandro Gatti
48150b1870 Use proper bit index for 6502 Interrupt flag. 2019-04-19 17:04:28 +02:00
GhidraKnight
985d76bf3c GT-2767 (GitHub 426) batch import APKs 2019-04-19 10:43:08 -04:00
ghidra1
62a180e0ae Merge remote-tracking branch 'origin/Ghidra_9.0.3' 2019-04-18 15:06:04 -04:00
ghidra1
6f9348b311 Corrected log4j version 2019-04-18 15:01:48 -04:00
Anciety
414bef0ce1 add Mac OS X horizontal scroll with mouse wheel (touch pad two fingers scrolling) 2019-04-18 11:10:22 +08:00
ghidravore
8f9a8dd1b1 Merge remote-tracking branch 'origin/Ghidra_9.0.3' 2019-04-17 18:49:15 -04:00
ghidravore
b05cddfbaa Merge remote-tracking branch 'origin/dev747368_GT-2764_fsb_dbl_click_container' 2019-04-17 18:43:58 -04:00
ghidravore
aa7ba796fd Merge remote-tracking branch 'origin/emteere_GT-2759' into Ghidra_9.0.3 2019-04-17 18:42:06 -04:00
ghidravore
163da67799 Merge remote-tracking branch 'origin/GT-2807_emteere' into Ghidra_9.0.3 2019-04-17 18:39:55 -04:00
ghidravore
0ba6e2757c Merge remote-tracking branch 'origin/GT_2730_emteere' into Ghidra_9.0.3 2019-04-17 18:38:39 -04:00
ghidravore
b520ee2fc4 Merge remote-tracking branch 'origin/GT-2754-dragonmacher' into Ghidra_9.0.3 2019-04-17 18:35:46 -04:00
ghidravore
2172490738 Merge remote-tracking branch 'origin/GT-2743_caheckman' into Ghidra_9.0.3 2019-04-17 18:31:49 -04:00
dragonmacher
efa6a1c9b2 GT-2818 - Tool Options - fixed overwriting of saved 'auto-save' option 2019-04-17 17:56:14 -04:00
dev747368
203dacdecc GT-2758 - fix and normalize GFileSystem.getInfo()
Remove unnecessary boilerplate impls that returned null.
Build info string better, handle the GTree node where a sub-file system
is mounted so that both are included in the info display.
Fix missing img3 icon.
2019-04-17 13:51:47 -04:00
James
fa14932797 GT-2816 added ability to override indirect call destinations 2019-04-17 13:34:29 -04:00
emteere
8d1e589ac7 GT-2730_emteere Fix for languages lacking a setting for the PC register
in the .pspec file
2019-04-17 13:24:52 -04:00
emteere
0859edf517 GT_2807_emteere Semantics for BCD arithmetic instructions in 68K 2019-04-17 12:19:07 -04:00
dragonmacher
0d9782964d GT-2754, 2756 - Decompiler Reference Finder - review fixes 2019-04-16 16:07:21 -04:00
ghidravore
4ce178c419 Merge remote-tracking branch 'origin/GT-2735-dragonmacher' 2019-04-16 14:58:50 -04:00
ghidravore
ab0781fd86 Merge remote-tracking branch 'origin/GT-2724-dragonmacher' 2019-04-16 14:58:22 -04:00
ghidravore
54b87b98b5 Merge remote-tracking branch 'origin/GT-2742_ryanmkurtz_PR-347_neutralinsomniac' 2019-04-16 14:56:26 -04:00
ghidravore
075d4f2767 Merge remote-tracking branch 'origin/GT-2755_caheckman_PR-340_marpie_fixupForCFG' 2019-04-16 14:51:45 -04:00
ghidravore
fb4f89445a Merge remote-tracking branch 'origin/GT-2752_caheckman' 2019-04-16 14:51:20 -04:00
ghidravore
a3dfac6468 Merge remote-tracking branch 'origin/GT-2746_caheckman' 2019-04-16 14:51:06 -04:00
ghidravore
fddb09f2f3 Merge remote-tracking branch 'origin/GT-2745_caheckman' 2019-04-16 14:50:37 -04:00
ghidravore
9d338c1c8d Merge remote-tracking branch 'origin/GT-2748_Dan_PR-Errata' 2019-04-16 14:45:30 -04:00
ghidorahrex
bc6f6ad927 GT-2768: Corrected spelling and index for mips reference manual. 2019-04-16 14:03:16 -04:00
dev747368
aba70e3c96 GT-2764 - fix task monitor dialog conflict when dbl click container
Change FSB "open program" actions to not try to import the missing files
inside of a task's runnable.
2019-04-16 12:29:23 -04:00
dragonmacher
79aa51cc9a GT-2754, 2756 - Decompiler Reference Finder - fixed
NullPointerException; updated the finder to handle 'anonymous field
accesses'
2019-04-15 18:09:16 -04:00
emteere
008cf415b2 GT-2759 Fixed 6502 processor module Zero Page indexed addressing. 2019-04-15 16:42:57 -04:00
ghidra1
38edad78f1 Updated to log4j-2.8.2 2019-04-15 11:46:36 -04:00
caheckman
53d9018f9e GT-2755: certified
Pulled-from: Markus Piéton <marpie@a12d404.net>
2019-04-15 11:22:55 -04:00
Markus Piéton
bdcbe2cf3a Callfixup for _guard_dispatch_icall on x86-64-win
Change goto to call
As pointed out by @caheckman [here](https://github.com/NationalSecurityAgency/ghidra/pull/340#issuecomment-482248465) the `goto` should be a `call`.
2019-04-15 11:15:12 -04:00
vgmoose
1f448e8ee6
plugintool: typo: backgound -> background 2019-04-14 18:12:08 -04:00
Jeremy O'Brien
8a1a70d7ba Remove duplicated options in MipsAddressAnalyzer 2019-04-12 13:43:25 -04:00
ghidravore
ca7d169d62 Merge remote-tracking branch 'origin/GT-2753_Dan_PR-331_cblichmann_AddSHA256ToProgramAPI' 2019-04-12 12:20:20 -04:00
Dan
69ceac9316 GT-2753: Formatted and certified
Pulled-from: Christian Blichmann <cblichmann@google.com>
2019-04-12 10:42:54 -04:00
caheckman
933e16f751 Suggestions from github issue #382 2019-04-12 09:44:53 -04:00
Christian Blichmann
f23fcf81a9 Add SHA256 hash to Program interface
Implements the first part of #291

Signed-off-by: Christian Blichmann <cblichmann@google.com>
2019-04-12 14:37:57 +02:00
Dan
c0fe897d28 Merge branch 'patch-1' of https://github.com/wesinator/ghidra into GT-2748_Dan_PR-Errata 2019-04-11 11:16:19 -04:00
ghidravore
da40d9f2f0 Merge remote-tracking branch 'origin/dev747368_fix_dataaction_tests' 2019-04-10 17:55:46 -04:00
ghidra1
038d4462d3 GT-2740 script corrections 2019-04-10 17:42:12 -04:00
dragonmacher
c65c60a042 GT-2724 - review fixes 2019-04-10 17:38:33 -04:00
ghidra1
ba98e85429 Set version 9.0.3-DEV 2019-04-10 15:33:30 -04:00
Dan
03258283d2 GT-2744 (closes #362): ARM and THUMB corrections.
Pulled-from: mumbel <mumbel@localhost.localdomain>
2019-04-10 12:19:15 -04:00
ghidra1
00acea89c2 GT-2740 corrected svrAdmin and createPdbXmlFiles script use in
development mode.  Other minor cleanup.
2019-04-09 18:36:36 -04:00
dragonmacher
d474d83166 GT-2724,2216 - Table Chooser Dialog - Improvements: 1) objects instead
of row numbers are used to track work items, 2) added API methods for
things like removing items, and getting a dialog closed notification;
added tests
2019-04-09 18:22:01 -04:00
caheckman
c87adb2115 Fix for invalid UTF, fix for multiple anonymous function definitions 2019-04-09 14:51:37 -04:00
caheckman
20a59296d9 Fix for 1-field structure bug 2019-04-09 12:48:57 -04:00
caheckman
42c86346f1 Fix for Github #336: equates in 16-bit x86 2019-04-09 12:17:49 -04:00
dragonmacher
c018c3bac5 GT-2735 - Function Graph - show selection color when nodes are zoomed
out
2019-04-09 09:52:09 -04:00
aldelaro5
e51128e46f Processors/PowerPC: Use FLOAT_NEG on fneg and fneg. instructions
It was causing weird decompilation output.
2019-04-09 01:09:38 -04:00
Ԝеѕ
99e9b9766f
Fix varnode typo 2019-04-07 16:41:22 -04:00
technateNG
bd8a6f341f PluginPackageComponent redesign - overlap fix 2019-04-07 18:15:00 +02:00
Xiaoyin Liu
165b044788 Symbol environment may start with uppercase SRV
parseSymbolEnv shouldn't reject symbol environment variables, starting
with uppercase "SRV", like
SRV*C:\symbols*https://msdl.microsoft.com/download/symbols
2019-04-07 22:41:15 +08:00
Xiaoyin Liu
9652e1f19c Use HTTPS for Microsoft symbol server URL
To prevent man-in-the-middle attack, it's better to use HTTPS for symbol
downloading whenever possible. WinDbg also uses
https://msdl.microsoft.com/download/symbols by default.
2019-04-07 22:25:01 +08:00
Kreeblah
b00852877c Updated x86 manual index
Updated x86 manual indexes to the following:

Intel 64 and IA-32 Architectures Software Developer's Manual Volume 2 (2A, 2B, 2C & 2D): Instruction Set Reference, A-Z, Sep 2016 (325383-060US), available at https://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-instruction-set-reference-manual-325383.pdf

AMD64 Architecture Programmer's Manual Volume 3: General-Purpose and System Instructions, Rev 3.26 May 2018 (24594), available at https://www.amd.com/system/files/TechDocs/24594.pdf

AMD64 Architecture Programmer's Manual Volume 4: 128-Bit and 256-Bit Media Instructions, Rev 3.23 Feb 2019 (26568), available at https://www.amd.com/system/files/TechDocs/26568.pdf

AMD64 Architecture Programmer's Manual Volume 5: 64-Bit Media and x87 Floating-Point Instructions, Rev 3.15 May 2018 (26569), available at https://www.amd.com/system/files/TechDocs/26569_APM_v5.pdf

AMD64 Technology 128-Bit SSE5 Instruction Set, Rev 3.01 August 2007 (43479), which is unchanged from the provided .idx. I can't find a newer version of the publication (or a different publication) that lists the same instructions, so I left it as it was. The only copy of the actual publication that I can find is at http://www.cs.northwestern.edu/~pdinda/icsclass/doc/AMD_ARCH_MANUALS/AMD64_128_Bit_SSE5_Instrs.pdf but it looks to be incomplete, as it stops at ROUNDSS.
2019-04-06 09:56:12 -07:00
achan1989
6a9a351869 #364 - ensure a ParsingEnvironment is provided to DisplayParser and SemanticParser. 2019-04-06 15:49:23 +01:00
mumbel
5028d3015d ARM and THUMB corrections
ADD (SP plus register, T32) was incorrectly op11=0x1e (1 1 1 1 0),
but is supposed to be 0x1d (1 1 1 0 1)

ARM's CLREX matches THUMB's BL<c> <label>.  Added AMODE check to
CLREX
2019-04-05 22:07:30 -05:00
emteere
d95a0a05a1 GT-2743_caheckman fixed dex decompilation due to regression from prior
fix (#247)
2019-04-05 15:32:55 -04:00
Jeremy O'Brien
9996620802 Make bash scripts more portable 2019-04-04 20:58:57 -04:00
Austin Roach
1aed26b4d3 AVR8: Add ISA manual index file 2019-04-04 20:32:23 -04:00
ghidravore
1dcba64533 Merge branch 'GT-2736_ghidravore_concurrent_modification_in_dtm' into Ghidra_9.0.3 2019-04-04 16:00:07 -04:00
ghidravore
7d7bc1e6ff GT-2736 fixed concurrent modification in DataTypeManagerDB 2019-04-04 15:59:46 -04:00
ghidravore
7fa646aac1 changes for patch directory 2019-04-04 14:27:22 -04:00
ghidravore
9857ade2fe changed patch directory
and updated distribution.gradle to copy patch/README.txt
2019-04-03 17:04:56 -04:00
ghidra1
31b449327a Updated version to 9.0.2 and restored missing file 2019-04-03 13:38:23 -04:00
ghidra1
e5246c633d Merge remote-tracking branch 'origin/emteere_GT-2723' into Ghidra_9.0.2 2019-04-03 12:04:04 -04:00
ghidravore
b82a0115a1 Merge remote-tracking branch 'origin/dragonmacher-GT-2705-9.0' into Ghidra_9.0.2 2019-04-03 12:00:05 -04:00
ghidravore
8dd29af64b Merge remote-tracking branch 'origin/drgaonmacher-GT-2716' into Ghidra_9.0.2 2019-04-03 11:26:20 -04:00
Ryan Kurtz
a252ec1c1f GT-2725: Preventing log4j from using optional jansi.dll on Windows
(#286).
2019-04-03 10:27:34 -04:00
ghidravore
9ba25cb99c Merge remote-tracking branch 'origin/emteere_GT-2722' into Ghidra_9.0.2 2019-04-02 18:42:37 -04:00
ghidravore
d321dc5316 Merge remote-tracking branch 'origin/caheckman_GT-2726' into Ghidra_9.0.2 2019-04-02 18:37:37 -04:00
ghidravore
da7a2e2235 Merge remote-tracking branch 'origin/caheckman_GT-2708' into Ghidra_9.0.2 2019-04-02 18:36:30 -04:00
ghidravore
e23cc6b72b Merge remote-tracking branch 'origin/caheckman_GT-2704' into Ghidra_9.0.2 2019-04-02 18:35:30 -04:00
ghidravore
3f5f837044 Merge remote-tracking branch 'origin/caheckman_GT-2682' into Ghidra_9.0.2 2019-04-02 18:24:22 -04:00
ghidravore
2fcf698408 Merge remote-tracking branch 'origin/ryanmkurtz_GT-2702_listner' into Ghidra_9.0.2 2019-04-02 18:07:12 -04:00
ghidravore
21f5528df5 Merge remote-tracking branch 'origin/ghidra5_GT-2706' into Ghidra_9.0.2 2019-04-02 18:05:06 -04:00
ghidravore
21d040f586 Merge remote-tracking branch 'origin/dev747368_GT-2712_MyProgramChangesDisplayPlugin' into Ghidra_9.0.2 2019-04-02 17:58:36 -04:00
ghidravore
39563bed8d Merge remote-tracking branch 'origin/adamopolous_GT-2703' into Ghidra_9.0.2 2019-04-02 17:42:05 -04:00
ghidravore
04f3fbba74 added patch readme 2019-04-02 17:39:54 -04:00
ghidravore
21fc990c15 fixed GT-2719 also updated version number 2019-04-02 15:36:37 -04:00
caheckman
89d4c981a7 Reverting decompiler window to have no timeout 2019-04-02 15:26:15 -04:00
dragonmacher
41f4e2cdde GT-2716 - review fixes 2019-04-02 13:05:40 -04:00
caheckman
c595e60c65 Fix for "Free Varnodes" exceptions in RuleConditionalMove 2019-04-02 12:56:35 -04:00
emteere
a57a7a3533 GT-2723 Finish configuration for min/max address changes for constant
reference propagation.
2019-04-02 11:51:32 -04:00
adamopolous
b874111ae7 GT-2703: added new help image for intel hex options dialog 2019-04-02 11:13:27 -04:00
emteere
8cf5b0f2c6 GT-2722 updates for CMP.W and LSL instruction decodes 2019-04-02 10:45:18 -04:00
adamopolous
a3121e19a4 GT-2703: changed label on intel hex option to be intelligible 2019-04-02 10:40:08 -04:00
dragonmacher
1626d2ee1b GT-2716 - Decompiler - Fixed 'Find' highlight ghosts 2019-04-01 18:25:05 -04:00
dev747368
8b67e8f53f Codereview fixes 2019-04-01 11:46:07 -04:00
ghidra1
3a27a22fed Merge remote-tracking branch 'origin/Ghidra_9.0' 2019-03-29 18:01:04 -04:00
ghidra1
7179c6de81 GT-2667 added support for generating sleigh build.xml files 2019-03-29 17:24:31 -04:00
dev747368
65ed72ab0e Fix exception when MyProgramChangesDisplayPlugin is uninstalled. 2019-03-29 17:18:20 -04:00
ghidra1
9edd697171 GT-2718, Issue#30 corrected PDB DIA SDK error handling, VS post-build
syntax and documentation
2019-03-29 16:40:32 -04:00
ghidra5
e75c28afd6 GT-2706 Fixed exceptions in Diff View 2019-03-29 14:39:40 -04:00
dev747368
e6c542e281 Fix DataActionTest failures due to data settings dockingaction changes.
The settings action's behavior changed when there was an active
selection.  The tests needed to change to reflect that.
2019-03-29 14:21:51 -04:00
Dan
6f91910a3d Merge branch 'Ghidra_9.0' 2019-03-29 12:20:47 -04:00
ghidra1
cf8af65354 GT-2717: Corrected ghidraSvr.bat problems, and avoiding 8.3 filename hack. 2019-03-29 12:17:48 -04:00
Ryan Kurtz
47430356fc Updating Ghidra version number. 2019-03-29 11:25:47 -04:00
Ryan Kurtz
3510e5e5ae Updating Ghidra version number. 2019-03-29 11:24:20 -04:00
dragonmacher
f3ef6956c9 GT-2705 - File Import - review fixes; updated transient project dialogs
to not have copy/paste actions etc
2019-03-28 18:25:09 -04:00
dragonmacher
84c16c2b27 GT-2705 - File Import - fixed drag-n-drop onto Project Tree dialogs 2019-03-28 18:24:34 -04:00
adamopolous
7caa7e369b GT-2703: fixes from code review 2019-03-28 14:46:21 -04:00
dragonmacher
c7afc468c5 Help - fixed intermittent bug in help build system related to the Dummy
help set
2019-03-28 14:45:24 -04:00
ryanmkurtz
6c8ee22c07 GT-2702: Fixing spelling. 2019-03-28 12:44:27 -04:00
adamopolous
6fad64426a GT-2703: changed "force" option to "drop extra bytes" in intel hex
options
2019-03-28 07:35:43 -04:00
dragonmacher
00a5a4dc01 Tests - fix for failing FG test 2019-03-27 18:30:21 -04:00
adamopolous
3cbd8de918 GT-2703: fixed intel hex export issue of dropping bytes on selection 2019-03-27 14:16:31 -04:00
caheckman
9a8775e18b Fix for GT-2708 2019-03-26 16:31:28 -04:00
caheckman
9cd01c9a08 Fix for GT-2704 2019-03-26 16:29:44 -04:00
caheckman
3067576168 Fix for GT-2682 2019-03-26 16:27:26 -04:00
Dan
79d8f164f8 Candidate release of source code. 2019-03-26 13:46:51 -04:00