Commit graph

155 commits

Author SHA1 Message Date
Bhaskara Ram 8e98b28cc4 Deserialization of Untrusted Data
introduced through: unknown:unknown@0.0.0 › com.google.code.gson:gson@2.8.6
Fix: Upgrade to com.google.code.gson:gson@2.8.9
Affected versions of this package are vulnerable to Deserialization of Untrusted Data via the writeReplace() method in internal classes, which may lead to DoS attacks.
2021-12-29 13:24:03 -05:00
Ryan Kurtz df9691faca GP-0: Fixing gradle compileJava error with GhidraDevPlugin build.gradle 2021-12-01 13:00:03 -05:00
Ryan Kurtz 8ca4074c93 GP-0: Framework Utility now requires Java 11+ instead of Java 8+.
LaunchSupport now requires Java 8+ instead of Java 7+.
2021-11-09 09:28:55 -05:00
ghidra1 54bbbcf44b Merge remote-tracking branch
'origin/GP-253_dev747368_refactor_gfilesystem_byteproviders_passwords_and_android--SQUASHED'
(Closes #377)
2021-10-01 11:50:05 -04:00
dev747368 72fe7b89d2 GP-253, GP-725 Gfilesystem ByteProviders, obfuscated temp files, passwords
Migrate GFilesystem methods to use ByteProviders instead of java Files for their source, and to produce ByteProviders instead of InputStreams.

Refactor file info query method to return a structured collection of enum specified meta data instead of a free-form multiline string.

Add locked icon badge to files in the file system browser that are password protected.

Reduces the number of temp files created on disk, and obfuscates files that are created to avoid the wrath of virus scanners (in the same manner that ghidra db files are obfuscated).

Add support for filesystems to query for passwords to decrypt files.

Refactor the SevenZipFileSystem implementation to decrypt files embedded inside zips that were created with passwords.

Fix Ext4 to support 128 byte inodes.
2021-10-01 10:09:38 -04:00
Ryan Kurtz 45cd8dc795 Merge remote-tracking branch
'origin/GP-1338_ryanmkurtz_PR-3454_zZeck_pydevLocateFix' (Closes #3453,
Closes #3454)
2021-09-30 07:29:32 -04:00
Ryan Kurtz f7af296734 GP-1338: Bumping GhidraDev to 2.1.5 2021-09-30 07:19:13 -04:00
Zeck 2a55b5af29 Issue #3453 fix. ghidraDev should lookup pydev pysrc directory by bundle path 2021-09-29 18:30:02 -05:00
Ryan Kurtz e088d2a4ea GP-1304: Removing illegal access to java.desktop/sun.awt.X11. Has side
effect of changing application name on Linux from "Ghidra" to
"ghidra.Ghidra".
2021-09-23 14:42:11 -04:00
Ryan Kurtz 00533b2869 GP-1106: Platform naming convention now supports different
architectures. Support for building on ARM.
2021-08-17 13:41:47 -04:00
chenzitai 8c2810d092 remove extra parameter in idaxml(tag_remove) 2021-08-09 09:33:44 -04:00
Ryan Kurtz 24f23aaeca Merge branch
'GP-1149_ryanmkurtz_PR-3088_stephengeorgewest_GhidraDev-exception'
(Closes #3087, Closes #3088)
2021-07-23 08:29:47 -04:00
Ryan Kurtz 46592bfe81 GP-1149: Upping GhidraDev to 2.1.4 2021-07-23 08:25:41 -04:00
Ryan Kurtz 3e39cdd5d1 Merge remote-tracking branch 'origin/patch' 2021-07-22 10:11:25 -04:00
Ryan Kurtz 8d63a9a3ab GP-0: Fixing GhidraDev run configuration to work with latest Eclipse and
work with spaces in path to project.
2021-07-22 10:04:03 -04:00
Ryan Kurtz a17d00bf0c GP-1144: Some tweaks to extension dependency pull-request 2021-07-20 15:27:02 -04:00
rlee287 71b70cf8e5 #2219 Copy Jars into lib folder during plugin build automatically 2021-07-20 08:37:07 -04:00
Ryan Kurtz 1f5812f2d5 GP-1001: Fixing Skeleton project's final build.gradle file in a release 2021-06-02 11:41:20 -04:00
stephengeorgewest cc75f89272 3087 GhidraProjectUtils: Don't get entry folder from path if entry is not CPE_SOURCE 2021-05-31 08:05:20 -06:00
Ryan Kurtz 3a0ae8ee39 GP-849: Gradle 7 support 2021-05-12 13:45:16 -04:00
Ryan Kurtz a503ded1fc GP-873: Fixed a bug that prevented GhidraDev projects from recognizing
extensions
installed in the user's home Extension directory
2021-04-22 08:55:08 -04:00
ghidra1 512fc1b8b7 Merge remote-tracking branch
'origin/GP-678_811_ryanmkurtz_flatRepo--SQUASHED' (Closes #1007, Closes
#1663)
2021-04-07 10:54:00 -04:00
Ryan Kurtz 3507820e03 GP-678, GP-811: Refactored fetchDependencies.gradle, now downloads FID datasets from ghidra-data repo, and revisied depencies/flatRepo layout. 2021-04-07 10:51:05 -04:00
Ryan Kurtz 59879f746e Merge branch 'GP-831_ryanmkurtz_PR-2891_aedrax_ida' into GP-831_ryanmkurtz_ida-PRs 2021-04-02 07:45:36 -04:00
Ryan Kurtz ccb2c439d5 Merge branch 'GP-831_ryanmkurtz_PR-2882_aedrax_aedrax-patch-idaxml-set-member-cmt' into GP-831_ryanmkurtz_ida-PRs 2021-04-02 07:45:17 -04:00
Ryan Kurtz 4469b8b14a Merge branch 'GP-831_ryanmkurtz_PR-2788_rafalh_ida6-exporter-non-ascii-fix' into GP-831_ryanmkurtz_ida-PRs 2021-04-02 07:44:59 -04:00
Ryan Kurtz 16ddf6256a Merge branch 'GP-831_ryanmkurtz_PR-1897_EgorKin_ida' into GP-831_ryanmkurtz_ida-PRs 2021-04-02 07:44:39 -04:00
Paul Sorensen 72cdb5242e
Fix string splitting exception
`string` isn't a type, the author intended to use `str.split()`
2021-04-01 17:54:27 -04:00
Paul Sorensen b7e048df77
Fix idaxml set_member_cmt func call
The script originally was incorrectly calling `idc.set_member_cmt` which
takes different arguments to calculate the member struct and offset. And
then it passes the results into the `ida_struct` version. However, this is
already done, so we can just go straight to the `ida_struct` version.
2021-03-30 13:39:59 -04:00
ghidra1 162f203395 Updated certification headers 2021-03-17 18:22:50 -04:00
emteere 650e65cdd5 GP-721_emteere added new define token endian attribute. Added Ghidra
category on built plugin extension so it appears when users install
2021-02-24 20:56:09 +00:00
Rafał Harabień 3593434f28 Fix non-ASCII characters handing in IDA 6.x exporter 2021-02-21 17:08:11 +01:00
Ryan Kurtz 2dc8e0434c GP-669: Fixing GhidraDev exception when ~/ghidra_scripts doesn't exist 2021-02-10 08:09:05 -05:00
Ryan Kurtz d9283b0b9d GP-669: Fixing GhidraDev exception when ~/ghidra_scripts doesn't exist 2021-02-08 13:02:32 -05:00
emteere b966f85f76 GP-0_emteere minor SleighEditor bug fix for @if "!=" comparison 2020-11-03 18:15:30 -05:00
emteere 04ddbf5981 Fixes for building SleighEditor, buildreadme, and added popcount to
grammar
2020-10-09 17:40:00 -04:00
dragonmacher 947c99a170 GP-186 - Ghidra Dev Plugin - applied previous fix to an additional file 2020-09-30 15:15:00 -04:00
ghidravore 2731654419 Merge remote-tracking branch 'origin/GP-186_dragonmacher_PR-2314_ryanmkurtz_GhidraDev_projectDirCheck' 2020-09-28 13:43:40 -04:00
Ryan Kurtz f3ba1ed000 Improved check that prevents Eclipse projects from being created within
the Ghidra installation directory

Closes #2298
2020-09-28 12:17:18 -04:00
Xiaoyin Liu e95dbdc4a8
Correct numbering in GhidraDevPlugin readme 2020-09-27 01:14:07 +08:00
ghidravore eab66aace7 Merge remote-tracking branch 'origin/GP-186_dragonmacher_PR-1922_ryanmkurtz_GhidraDev' 2020-09-22 18:07:35 -04:00
dragonmacher 7391472a56 GP-186- Ghidra Dev - updated build docs
Closes #1922
2020-09-22 15:02:52 -04:00
Ryan Kurtz 30df737334 PyDev source directory can now be found in the Eclipse dropins directory
Updating GhidraDev version to 2.1.1
2020-09-22 15:00:47 -04:00
dragonmacher 8216440278 GP-89 - Scripting - added JSON support via GSON
Closes #1982
2020-09-17 14:17:24 -04:00
Egor Kin d90a600b88
Fix export unicode comments
Current script make 1 character for each byte in comment line. So it`s cause double length and incorrect chars in international comments from IDA in Ghidra. This small patch fix it.
2020-05-25 13:38:59 +03:00
ofa-anssi dc954e9161 Fix typo in the README file 2020-03-10 18:58:22 +01:00
ghidorahrex 9f66126cef Merge remote-tracking branch 'origin/GT-3547-dragonmacher-patch-dir-fix' 2020-02-24 13:47:12 -05:00
dragonmacher 855955bb3d GT-3547 - Patch dir fix - review fixes 2020-02-24 11:00:51 -05:00
dragonmacher 87bda2b34d GT-3547 - Patch dir fix - review fixes 2020-02-19 18:50:52 -05:00
dragonmacher 3dced733df GT-3547 - Patch dir fix to allow loading of extension points 2020-02-14 17:08:21 -05: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
ghidra1 b05c409a9f GT-3328 minor revisions to sleigh options processing per review 2019-11-25 17:34:41 -05:00
ghidra1 1b1240a41b GT-3328 corrected sleighArgs.txt use with module dependency paths 2019-11-19 15:11:30 -05:00
Andrii Kurdiumov 5afdec1883 Fix typo.
I cannot find anything related to other issues described in the original issue. Version 7.x was fixed earlier.
Fixes #559
2019-10-11 22:06:39 +03:00
Ryan Kurtz 0a3574d0c0 GT-3146: Preventing Ghidra from launching with 32-bit Java (fixes #882). 2019-09-12 09:40:36 -04:00
Ryan Kurtz b5498c961d Fixing GhidraSleighEditor build. 2019-09-09 12:19:39 -04:00
Ryan Kurtz 23d1e9ad22 Merge remote-tracking branch 'origin/GT-3090_16bit_analysis' 2019-09-06 13:24:34 -04:00
Ryan Kurtz da09daeb8d Fixing GhidraDev compilation problem on non-macOS platforms. 2019-09-04 10:06:53 -04:00
caheckman 11d7420af5 allow segmentop tag in cspec, update segmentop XML 2019-08-29 16:28:03 -04:00
Ryan Kurtz a973789cd1 GT-2696: Another idaxml.py memory reference fix (fixes #885) 2019-08-14 14:51:25 -04:00
Ryan Kurtz aba5a2b672 Merge remote-tracking branch 'origin/GT-3079-ghidravore_add_to_program' 2019-08-14 12:29:29 -04:00
ghidravore ae5662a50f GT-3079 Added checking to binary loader to check for memory conflicts
before loading in the "add to program" case.
2019-08-14 12:14:54 -04:00
Ryan Kurtz 5c74632fdb GhidraDev new module project wizard can now optionally include/exclude
processor.  Also fixed building processor using buildLanguage.xml.
2019-08-14 08:41:17 -04:00
Ryan Kurtz 85e25af7e8 Adding JUnit to projects created by GhidraDev. 2019-08-07 12:07:15 -04:00
Ryan Kurtz 649e573a0d Added "Environments" tab to Ghidra run configuration in GhidraDev. 2019-08-05 11:46:33 -04:00
Ryan Kurtz fa20ba3762 GT-2913: launch.properties can now take platform-specific VMARGS. 2019-07-25 11:31:08 -04:00
Ryan Kurtz dcad9f3272 New GhidraDev. 2019-07-23 08:11:42 -04:00
Ryan Kurtz de68f50eb4 GT-3017: Storing minimum gradle version in application.properties. 2019-07-18 13:39:17 -04:00
Ryan Kurtz 7617f30756 GT-2845: Removing MemoryConflictHandler. 2019-07-16 14:08:25 -04:00
Ryan Kurtz 820eafbd65 Including GhidraSleighEditor in build. 2019-07-15 14:34:54 -04:00
Ryan Kurtz 5c92ed9ac4 Merge remote-tracking branch 'origin/GT-2998_ryanmkurtz_PR-774_teesee23_fix_ida_import_export_scripts' 2019-07-15 09:21:46 -04:00
ghidra1 e0e2c58eb7 Merge remote-tracking branch 'origin/ghidra1_Emulator'
Conflicts:
	gradle/root/eclipse.gradle
2019-07-12 16:14:17 -04:00
ghidra1 fca9e847c7 Added pcodetest source code to SleighDevTools module. Corrected
certification issues.
2019-07-11 16:46:11 -04:00
Tom Court a17da1235e fix bugs causing exceptions in ida import/export plugin 2019-07-10 09:24:59 +01:00
Ryan Kurtz 5f388e6bbc GT-2897: More improvements. 2019-06-26 12:56:44 -04:00
emteere 5b65962e04 GT-113_emteere Loosening up eclipse dependency 2019-06-25 18:18:00 -04:00
emteere 0428895780 GT-113_emteere Adding sleigh compiler error navigation 2019-06-25 09:41:20 -04:00
emteere cdbe651627 emteere_GT-113 Added documentation for building and using SleighEditor 2019-06-25 09:39:10 -04:00
Ryan Kurtz 39f85478e4 GT-113: Generating Eclipse projects with Gradle. 2019-06-25 09:38:49 -04:00
emteere 1779fdd94d GT-113_emteere Adding initial SleighEditor to public version. 2019-06-25 09:38:35 -04:00
Ryan Kurtz c5fdf6f9ec GT-2865: ApplicationIdentifer now removes spaces from application name
and release name.
2019-05-23 12:22:09 -04:00
Ryan Kurtz dfd5e26376 GT-2865: Incorporating release name into setting directory name. 2019-05-23 11:51:59 -04:00
ghidravore 1c43c6dc91 Merge remote-tracking branch 'origin/GT-2838_ryanmkurtz_PR-460_neutralinsomniac_ida_sys' 2019-05-02 16:16:44 -04:00
Ryan Kurtz 2313b8c95c GT-2696: idaxml.py negative memory reference fix (#213). 2019-04-26 12:15:41 -04:00
ghidra1 d3fa5cd06c Updated comment regarding GhidraDev copy during build 2019-04-26 11:08:56 -04:00
ghidra1 1cae5552f6 Merge branch 'patch'
Conflicts:
	gradleScripts/distribution.gradle
2019-04-25 17:32:19 -04:00
ghidra1 3402c18b25 GT-2835 updated to commons-lang3-3.9 and corrected some eclipse project
issues
2019-04-25 15:20:35 -04:00
ghidravore 29e6df1c38 Merge remote-tracking branch 'origin/gt-2758_dev747368_zipfilesystem_npe' 2019-04-24 18:06:35 -04:00
Ryan Kurtz 55f31e550d Improved resource filters for BuildFiles project. 2019-04-24 14:39:10 -04:00
Ryan Kurtz f0d2b5d691 Fixing IDAPro build.gradle. 2019-04-24 14:18:00 -04:00
ghidravore ae79f00e75 fixed copy task in GhidraDevPlugin 2019-04-24 12:23:14 -04:00
ghidra4 2e9462b81f Removed configuration in doFirst from utilityJar to prevent skipped task. 2019-04-24 10:37:34 -04:00
Ryan Kurtz a0354a9746 gradle -PeclipsePDE now affects the GhidraDev Feature project. 2019-04-24 08:30:50 -04:00
ghidravore a03c96d37b added support to build eclipse files for projects that require the
eclipse PDE
2019-04-23 16:31:08 -04:00
ghidravore f1e50fb079 Major refactoring of the gradle build system. 2019-04-23 15:20:26 -04:00
Ryan Kurtz 8c364d85c9 GT-2721: Updating GhidraDev version number and installation guide.
Closes #383.

Pulled-from: Vladimir Kononovich <newinferno@gmail.com>
2019-04-22 13:42:25 -04:00
Vladimir Kononovich ea60dcb9b5 getRawLocation patch #383 2019-04-22 12:50:01 -04:00
Jeremy O'Brien e0fabe4b72 Add missing 'sys' import to IDAPro import/export scripts 2019-04-18 08:34:27 -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
ghidra1 38edad78f1 Updated to log4j-2.8.2 2019-04-15 11:46:36 -04:00