Commit Graph

13244 Commits

Author SHA1 Message Date
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
Dan
c61eaab994 GT-2750: Certified.
Pulled-from: Ben Zanin <gnomon-@users.noreply.github.com>
2019-04-12 09:58:14 -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
Ben Zanin
89f4b88503 Change CDT 8.6.0 d/l to use auto mirrors + checksums
Per https://bugs.eclipse.org/bugs/show_bug.cgi?id=134634#c3 this
mirror redirection feature is not well known, but it works and it
removes a decision point from an otherwise copy-and-paste set of
steps.

The `r=1` query fragment causes Eclipse.org's download.php to pass
a redirect directly back to the client rather than a mirror list:
https://git.eclipse.org/c/www.eclipse.org/downloads.git/tree/download.php#n97

Sadly it appears that including the `protocol=https` query element
is wasted effort since that value is unconditionally overridden:
https://git.eclipse.org/c/www.eclipse.org/downloads.git/tree/download.php#n173

Add CDT 8.6.0 checksum verification (via HTTPS)

Per https://wiki.eclipse.org/CBI/How_to_check_integrity_of_downloads_from_the_Eclipse_Foundation
the Eclipse Foundation mirror system offers the ability to retrieve
checksums for mirrored packages to provide an additional degree of
certainty about the absence of tampering in transit, since mirrored
files are provided via HTTP.  (The link cites performance concerns
as the reason for transferring mirrored files unencrypted, but that
concern, while common, is well known to be less worrisome than has
been the case even recently, [eg.][1] )

The `sums.php` [source][2] shows three checkum types may be used as
valid options: md5, sha1, and sha512.  We'll prefer sha512.  We'll
also assume that the `sha512sum` tool is available and supports the
`-c`/`--check` invocation option.

I have observed these three checksum values for `cdt-8.6.0.zip` as
returned by the Eclipse Foundation mirror, and I'm noting them here
rather than in `DevGuide.md` directly on the assumption that it is
a better idea to let `sha512sum` do the verification instead of the
user following the guide:

| Type   | Value |
| ------ | ----- |
| md5    | `8e9438a6e3947d614af98e1b58e945a2` |
| sha1   | `6363c3eece78277cc6b6748bb4eba0166db30a6a` |
| sha512 | `2b8bb498146aa29995e807c5b4e9d5dab0f6afe89a5ce256978b7b2c478677a0cb5a0f15913a32bd99cb7b4bb31230521f70b9c26cdef1cb983dfcea599737c0` |

[1]: https://istlsfastyet.com

[2]: https://git.eclipse.org/c/www.eclipse.org/downloads.git/tree/sums.php
2019-04-11 16:56:31 -04:00
Dan
5ebb9efbfc GT-2748: Certified errata.
Pulled-from: Ԝеѕ <5124946+wesinator@users.noreply.github.com>
Pulled-from: Xiaoyin Liu <xiaoyinl@users.noreply.github.com>
Pulled-from: 0xflotus <0xflotus@gmail.com>
Pulled-from: LRFLEW <LRFLEW@aol.com>
2019-04-11 14:03:23 -04: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
Dan
6b36ba85fe Merge branch 'srv' of https://github.com/xiaoyinl/ghidra into GT-2748_Dan_PR-Errata 2019-04-11 10:43:50 -04:00
Dan
2e7bdc887a Merge branch 'patch-1' of https://github.com/0xflotus/ghidra into GT-2748_Dan_PR-Errata 2019-04-11 10:33:00 -04:00
Dan
10b4e08d3a Merge branch 'devguide' of https://github.com/LRFLEW/ghidra into GT-2748_Dan_PR-Errata 2019-04-11 10:32:51 -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
0xflotus
4dbae188d3
fixed GhidraCodingStandards 2019-04-06 01:03:49 +02:00
emteere
d95a0a05a1 GT-2743_caheckman fixed dex decompilation due to regression from prior
fix (#247)
2019-04-05 15:32:55 -04:00
Ryan Kurtz
1b12f8e8ad GT-2742 Pulled-from: Jeremy O'Brien <neutral@fastmail.com> (#347) 2019-04-05 15:12:44 -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
LRFLEW
253ded250b
Fix platform mislabeling in DevGuide.md 2019-04-04 18:29:15 -06: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
409f79f669 GT-2734 forgot to add README.txt 2019-04-04 15:48:22 -04:00
d-millar
2b3c61b8e1
Update DevGuide.md
looks like `gradle eclipse` needs to be run after `gradle prepDev`
2019-04-04 15:31:46 -04:00
Dan
cc25889fe3 GT-2737: Pull request: ghidra#317
Pulled-from: Ryan Meredith <rwm@udel.edu>
2019-04-04 15:10:51 -04:00
Dan
e3c985e49a Merge branch 'TI' of https://github.com/Ebola16/ghidra into GT-2737_Dan_PR-317_Ebola16_TextImprovements 2019-04-04 15:08:13 -04:00
ghidravore
7fa646aac1 changes for patch directory 2019-04-04 14:27:22 -04:00