Commit Graph

1453 Commits

Author SHA1 Message Date
Ryan Kurtz
8f00152601 GT-3350: Consistently ordered classpath and ExtensionPoint priorities 2019-12-03 10:04:56 -05:00
Ryan Kurtz
7ab75e411e Merge remote-tracking branch 'origin/GT-3333_dev747368_JVM_utf8_strings'
(fixes #1255)
2019-11-25 11:50:23 -05:00
Roi Martin
7946ec5f62 AVR8: Fix lpm/elpm implementation in SLEIGH specification
When Z & 0x1 == 1, the dereferenced data must be right-shifted 8 bits
before assigning val:1 to the target register.

When Z & 0x0 == 0, val:1 is assigned to the target register straight
away.

In short, we can reduce these conditions to:

	tmp:2 = *[code]:2 (ptr >> 1);
	val:2 = (tmp >> (8 * (Z & 0x1)));
	R0 = val:1;

NOTE: Author's original commit was modified to address conflicts and a necessary rebase. -ryanmkurtz
2019-11-25 09:59:51 -05:00
ghidra1
9a470a9dc7 Merge remote-tracking branch 'origin/patch' 2019-11-22 16:50:54 -05:00
ghidra1
4fc507f711 GT-3349 Corrected ELF relocation fixups for R_MIPS_REL32,
R_X86_64_RELATIVE and R_X86_64_RELATIVE64
2019-11-22 16:49:24 -05:00
ghidra1
f1fcd421d6 Merge remote-tracking branch 'origin/GT-3320_ghidra1_PR-1192_brggs_ElfAndroidRelocs' 2019-11-22 16:41:55 -05:00
ghidra1
d68f3697e3 GT-3320 changed manner in which Android ELF APS2 relocation table
is represented within listing.  Corrected Android relocation handling
when sections are not present.
2019-11-22 16:38:14 -05:00
dev747368
09ba78b7a0 GT-3333 minor code review tweaks 2019-11-22 13:44:44 -05:00
ghidravore
c15b263b90 junit 2019-11-21 14:55:19 -05:00
dev747368
3be5949814 GT-3333 more better tests & fix padding logic
Add ArrayStringable tests and fix an error in rounding length code
2019-11-21 14:04:19 -05:00
Ryan Kurtz
844915e935 Merge remote-tracking branch 'origin/GT-3345_ghidorahrex_PR-1271_WesleyCeraso_patch-1' 2019-11-21 12:01:00 -05:00
Ryan Kurtz
0795a6e808 Merge remote-tracking branch 'origin/patch' 2019-11-21 11:44:06 -05:00
Ryan Kurtz
23fe661db3 GT-3344: Fixed exception in PeLoader that occurred when creating a
memory block for the headers when the block size exceeded the file size
(fixes #1266).
2019-11-21 11:31:58 -05:00
Wesley Ceraso Prudencio
077b5788ab
Fixes the lvalue for movu.b and movu.w
As with all other mov instructions, the second address is the lvalue, the one to receive the data.
For movu.b and movu.w the first address was receiving its own data.
2019-11-21 08:22:52 -08:00
Ryan Kurtz
c5594d2b91 GT-3334: Changing how we resolve #1250 (fixes #1270). 2019-11-21 09:00:10 -05:00
Ryan Kurtz
2f0b64a31a Merge remote-tracking branch 'origin/GT-3340_ghidorahrex_PR-1265_shrlnm_master' 2019-11-20 15:30:55 -05:00
Ryan Kurtz
32d2d545b7 Merge remote-tracking branch 'origin/GT-3054_new_function_tags_view' 2019-11-20 07:33:20 -05:00
shrlnm
dd7e0e2097
fix typo in token finstr16
wrong bit range definition
2019-11-20 09:36:02 +03:00
adamopolous
bddb1a5518 GT-3054: Updated function tag panel to include table showing all
functions using a tag
2019-11-19 15:18:18 -05:00
Ryan Kurtz
125a3fad7d Merge remote-tracking branch 'origin/caheckman_sleighx86vector' 2019-11-19 12:33:35 -05:00
Ryan Kurtz
d982c091ba Merge remote-tracking branch 'origin/patch' 2019-11-19 12:24:47 -05:00
Ryan Kurtz
ebb336b7f0 GT-3321: Speeding BinaryReader.readAsciiString(long) back up. 2019-11-19 12:22:17 -05:00
caheckman
53e4a67fa2 Bug fix in ADDPS 2019-11-19 11:38:53 -05:00
shrlnm
d69dbe5c97
fix movi20 and movi20s 2019-11-19 11:43:58 +03:00
dev747368
26750e23f2 GT-3333, #1255 fix string rendering issue when with dataOrg char sizes >
1 byte.

If the language's dataOrg specifies a character size larger than 1 byte,
strings with a charSet that uses just 1 byte (ie. UTF-8 strings inside a
java .dex file) will incorrectly treat some of the string bytes as
padding between array elements.

Fixes issue #1255.
2019-11-18 12:54:19 -05:00
Ryan Kurtz
4496e51b0b GT-3334: Protected GhidraScript/FlatProgramAPI methods can now be called
from python (fixes #1250)
2019-11-18 12:18:20 -05:00
Ryan Kurtz
7cd82462e9 Merge remote-tracking branch 'origin/adamopolous_powershell-bug-fix' 2019-11-18 09:20:32 -05:00
Ryan Kurtz
a0aff4fdec Merge remote-tracking branch 'origin/GT-3319_SleighFunctionCall' 2019-11-18 08:23:19 -05:00
Ryan Kurtz
bb0a3d9f52 Merge remote-tracking branch 'origin/GT-3332_GTree_fixes' 2019-11-18 08:20:35 -05:00
Ryan Kurtz
49db5f235a Merge remote-tracking branch 'origin/GT-3323-dragonmacher-gtree-restore-state' 2019-11-18 08:16:23 -05:00
caheckman
57c081eeda psllq, psubq 2019-11-16 12:53:05 -05:00
caheckman
a1623af6a0 pmulw, pslld, psubd 2019-11-16 12:36:36 -05:00
caheckman
965afc8829 Replace specialized AVX constructors with bitrange operator 2019-11-16 11:47:25 -05:00
caheckman
64d15b3ea0 Use bitrange operator instead of special constructors when accessing
vector register lanes
2019-11-16 10:28:09 -05:00
dragonmacher
41795b1acc GT-3323 - GTree - review fixes 2019-11-15 18:49:15 -05:00
ghidravore
6770c63302 changes from review 2019-11-15 18:34:34 -05:00
dragonmacher
a32e20ee90 GT-3323 - GTree - review fixes 2019-11-15 18:11:24 -05:00
ghidravore
b5a7246523 GT-3332 Fixed several issues with GTreeNodes 2019-11-15 17:33:01 -05:00
dragonmacher
e346736e5f GT-3323 - GTree - fix bug in restoring tree state after a filter where
the user did not click the tree
2019-11-15 13:33:47 -05:00
caheckman
410b92c611 Better parse checking on "funcall" rule. 2019-11-15 11:15:03 -05:00
adamopolous
2de421d3f9 added gradle dependencies for jacoco tasks 2019-11-15 09:54:34 -05:00
Ryan Kurtz
05ee2c14b9 Merge remote-tracking branch 'origin/patch' 2019-11-15 08:55:08 -05:00
Ryan Kurtz
ed479dd300 Merge remote-tracking branch 'origin/GT-3260_emteere_MemoryExecSetCache' into patch 2019-11-15 08:51:35 -05:00
Ryan Kurtz
9edca9afec GT-3261: Fixing possible IllegalArgumentException in sort comparator.
Integer subtraction could result in overflow.
2019-11-15 08:50:46 -05:00
Ryan Kurtz
5feab045d2 Merge remote-tracking branch 'origin/patch' 2019-11-14 16:32:52 -05:00
Ryan Kurtz
f3e4cd0a00 GT-3321: Reverting change to BinaryReader.readAsciiString. It caused
problems when used with a MemoryByteProvider (fixes #1200).
2019-11-14 16:31:02 -05:00
Ryan Kurtz
719841eb20 Merge remote-tracking branch 'origin/patch' 2019-11-14 14:16:36 -05:00
Ryan Kurtz
77cd16404d Merge remote-tracking branch 'origin/GT-3315_GlobalStringAssign' into patch 2019-11-14 14:12:38 -05:00
Ryan Kurtz
0b6b7faebd Merge remote-tracking branch 'origin/GT-3309_CodeDatatype' into patch 2019-11-14 14:11:55 -05:00
Ryan Kurtz
26053aec35 Merge remote-tracking branch 'origin/caheckman_lockedinput' 2019-11-14 13:59:32 -05:00