Commit graph

1980 commits

Author SHA1 Message Date
Ryan Kurtz
f7c31cc8fc Merge remote-tracking branch 'origin/GP-1073_ghidravore_checking_uses_of_getSymbols_address--SQUASHED' 2021-10-07 08:27:14 -04:00
Ryan Kurtz
8d6ec04a3a Merge remote-tracking branch 'origin/GP-1358-dragonmacher-search-bytes-dialog-mask--SQUASHED' 2021-10-07 08:25:14 -04:00
dragonmacher
cd41a43ab8 GP-1358 - Updated the Search Memory dialog to treat a single wildcard character as if 2 wildcards had been entered
Closes #3351
2021-10-06 17:04:33 -04:00
ghidravore
a8da2b761a GP-1073 updating uses of getSymbols(address) to be more efficient where possible 2021-10-06 16:59:58 -04:00
Ryan Kurtz
034a626838 Merge remote-tracking branch 'origin/GP-1372_dev747368_fix_import_gzf_fsrl' 2021-10-06 14:31:39 -04:00
dev747368
dee526ee33 GP-1372 Fix overwrite of FSRL when importing gzf 2021-10-05 18:58:33 +00:00
Ryan Kurtz
79dad2acf0 GP-1326: Upgrading Apache Felix to 7.0.1 2021-10-05 14:35:46 -04:00
ghidra1
73b4ad7d73 GP-943 upgraded standard datatype archives to reflect latest schema
change
2021-10-05 13:15:21 -04:00
ghidra1
086714df5f GP-0 Updated FixupCompositeDataTypesScript to support archives 2021-10-05 13:08:28 -04:00
Ryan Kurtz
4920bc6d74 Merge remote-tracking branch 'origin/patch' 2021-10-04 18:20:07 -04:00
Ryan Kurtz
0fa6a9aab2 GP-1366: The "COFF Header Annotation" analyzer should only be enabled
when BinaryLoader was used
2021-10-04 18:10:51 -04:00
Ryan Kurtz
080d1a02f2 Merge remote-tracking branch
'origin/GP-1024_dev747368_Fix_Extract_and_Import_temp_filename' (Closes
#3114)
2021-10-04 15:58:48 -04:00
dev747368
eb24c51b51 GP-1024 fix "Extract and Import" to not produce tmp files with bad names
Temp files were named using memory block name and string rep of the min
and max address, which would cause problems if address representation
contained a ":" (seg:offset) and the user was on a windows platform.
2021-10-04 13:45:32 -04:00
ghidravore
d536512dd6 GP-1259 Fixing search action enablement when in restricted view componennts (FunctionGraph, Decompiler) 2021-10-04 12:25:26 -04: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
ghidra1
be13d9047a Merge remote-tracking branch
'origin/GP-1352_ghidra1_ElfAndroidRelocMarkup' (Closes #3462)
2021-10-01 11:49:12 -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
ghidra1
8bcc80afda GP-1352 Correct various issues with ELF Android relocation markup. Add
missing support for ELF Arm32 RELR relocations.
2021-09-30 19:46:34 -04:00
Ryan Kurtz
03d077a7ef Merge remote-tracking branch
'origin/GP-1349-dragonmacher-datatype-chooser-dialog-update' (Closes
#3140)
2021-09-30 14:57:48 -04:00
Ryan Kurtz
9746fad93e Merge remote-tracking branch
'origin/GP-1316_dragonmacher_PR-2421_theopechli_iss1680' (Closes #1680,
Closes #2421)
2021-09-30 14:54:07 -04:00
dragonmacher
e80dedcbdf GP-1316 - Enums - Updates for PR to add comments to enum values 2021-09-30 14:44:52 -04:00
dragonmacher
3475760fec GP-1349 - Updated API methods of the DataTypeChooserDialog to be clearer 2021-09-30 12:39:01 -04:00
Ryan Kurtz
a79d2578a9 Merge remote-tracking branch 'origin/GP-1334-dragonmacher-fg-exception' 2021-09-30 08:14:09 -04:00
Ryan Kurtz
9e8154e142 Merge remote-tracking branch 'origin/GP-1333-dragonmacher-dancing-mem-search-dialog' 2021-09-30 08:12:57 -04:00
dragonmacher
6243133e1d GP-1333 - Fixed memory search dialog issue caused by odd resizing when
using the Advanced button

Closes #3158
2021-09-29 13:38:23 -04:00
ghidra1
e023e40a60 GP-0 disable generation of diagnostic test artifact bitfields.h.gdt 2021-09-28 18:39:57 -04:00
Theofilos Pechlivanis
7398d26e84 Fix #1680 by adding a comment field in the enum editor 2021-09-28 16:07:37 -04:00
dragonmacher
a36f17c782 GP-1334 - Fixed exception due to the Patch action being incorrectly
added to the Function Graph context menu

Closes #3288
2021-09-28 15:16:43 -04:00
Ryan Kurtz
156ce7ef80 Merge remote-tracking branch 'origin/GP-1082_ghidravore_improving_symbol_table_performance' 2021-09-28 12:52:32 -04:00
ghidravore
e5df6fdd7b GP-1082 Improved Symbol Performance by creating indexes for primary
symbols as well as implementing a hash index for name/namespace/address.
Also, cleaned up the Symbol schema to use sparse fields for fields than
are not used by all symbol types.
2021-09-28 12:29:45 -04:00
ghidra1
3a23b73886 Merge remote-tracking branch 'origin/patch' 2021-09-28 11:50:05 -04:00
ghidra1
3ac5d727dd Merge remote-tracking branch
'origin/GP-1295_emteere_CParser_MacroExpansionTruthFix--SQUASHED' into
patch (Closes #3410, Closes #1652, Closes #2665, Closes #2666))
2021-09-28 11:37:55 -04:00
emteere
c7ba2e3969 GP-1295 Improved preprocessor macro expansion processing to allow logic within expressions for #if preprocessor macros. Fixed operator precedence, multiple casts, and add C17 syntax. 2021-09-28 11:32:59 -04:00
ghidra1
3118f6aa36 Merge remote-tracking branch 'origin/patch'
Conflicts:
	Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/StructureDB.java
2021-09-27 18:02:19 -04:00
dragonmacher
e88818266e GP-1260 - fixed exception when generating tooltip for undefined function 2021-09-27 11:53:51 -04:00
Dan
48ba18306e GP-80: Add Dynamic bytes (raw memory) viewer 2021-09-27 10:40:40 -04:00
ghidra1
27892f659a GP-943 Resurected and revised Structure.getComponentAt method. Also
revised behavior of Structure.getComponentContaining.  Both will now
ignore zero-length components.
2021-09-26 19:11:34 -04:00
ghidra1
22e26916b3 Merge remote-tracking branch 'origin/patch' 2021-09-24 20:59:30 -04:00
ghidra1
5aa865e264 Merge remote-tracking branch 'origin/GP-943_ghidra1_ZeroLengthArrays' 2021-09-24 20:51:18 -04:00
ghidra1
f64a7dce0f Merge remote-tracking branch 'origin/GP-0-dragonmacher-test-fixes-9-24-21' 2021-09-24 17:35:12 -04:00
dragonmacher
59ed3e1cc9 Test update for timing issue 2021-09-24 17:20:33 -04:00
ghidra1
cfdec26da4 GP-943 Added support for zero-length arrays and
zero-length components.  NOTE: We still never return 0 for
DataType.getLength().  Added DataType.isZeroLength().
2021-09-24 16:29:29 -04:00
ghidra1
564cab0b1b GP-1323 corrected NPE within LcsHintLoadSpecChooser 2021-09-24 16:10:16 -04:00
Ryan Kurtz
579e3bacf7 Merge remote-tracking branch
'origin/GP-1318-dragonmacher-xref-click-bug' (Closes #3445)
2021-09-24 13:41:54 -04:00
dragonmacher
f24e969c2a GP-1318 - fixed xref clicking bug 2021-09-24 13:33:39 -04:00
Ryan Kurtz
e26cabf9f7 Merge remote-tracking branch 'origin/GP-1304_ryanmkurtz_linux-appname' 2021-09-24 07:12:43 -04:00
ghidra1
6c8acec3fc Merge remote-tracking branch 'origin/patch' 2021-09-23 23:08:22 -04:00
ghidra1
3f25f75782 GP-1320 corrected DTM used when Function Editor parses signature 2021-09-23 23:02:55 -04: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
dev747368
f857f0e092 GP-1174 fix Pe/Mz loaders when COFF aux debug symbols are present
Pe/Mz loaders would error if run under eclipse (or the
continuesinterceptor is turned off) when the aux symbols are present
because the inner classes were marked as private.

Closes #3442
2021-09-22 12:19:38 -04:00