Commit graph

317 commits

Author SHA1 Message Date
caheckman
2570ff44d6 Allow Override dialog to get function via flow reference 2019-09-11 09:46:30 -04:00
caheckman
66df643877 override check in deindirect 2019-09-10 15:54:04 -04:00
ghidra1
4a6e6697f4 Merge remote-tracking branch 'origin/GT-3049_ghidorahrex_HCS12' 2019-09-06 18:47:49 -04:00
ghidra1
2d144fb457 Corrected NPE in decompiler.
Reference overrides must ignore external references.
2019-09-06 18:34:06 -04:00
ghidra1
e6cbefc706 Merge remote-tracking branch
'origin/GT-3116-dragonmacher-edit-data-type-action'
2019-09-06 17:34:52 -04:00
Ryan Kurtz
23d1e9ad22 Merge remote-tracking branch 'origin/GT-3090_16bit_analysis' 2019-09-06 13:24:34 -04:00
caheckman
927bf3df10 Let FunctionPrototype grab extrapop from the prototype model 2019-09-06 13:17:52 -04:00
emteere
f599ab1623 GT-3049 Fixes for return storage commit 2019-09-05 16:24:29 -04:00
dragonmacher
1a22f97bbe GT-3116 - Updated decompiler 'Edit Data Type' action to work on more
fields; fixed a bug in Location References provider to enable data type
selection when focused; fixed a NullPointerException in DockingAction
2019-09-04 14:27:18 -04:00
ghidravore
20ac7ece0a Merge branch 'GT-3088_ghidravore_listing_jumping_bug' 2019-08-29 17:37:01 -04:00
ghidravore
7b7e730844 fixed bug where listing would jump when opening/closing large structures
or arrays
2019-08-29 15:53:59 -04:00
caheckman
4c3289f09f Use InjectPayload for segment ops 2019-08-29 14:17:02 -04:00
caheckman
0d058ec35c dont let subfunction parameter names override unaffected/input names 2019-08-29 14:06:47 -04:00
Ryan Kurtz
8cc9b4aa5f Merge remote-tracking branch 'origin/GT-3059_ghidra1_funcsignature_datatype_sizes' 2019-08-29 13:05:13 -04:00
ghidra1
120d4241e5 GT-3059 corrected Function Signature Parser issues related to use of
datatype service ensure that returned types are properly cloned to
target program.
2019-08-29 12:11:38 -04:00
dragonmacher
df971ee613 GT-3116 - Fixed exception on FillOutStructureCmd due to recent changes 2019-08-28 18:32:03 -04:00
dragonmacher
51f06a8688 GT-3115 - Decompiler - added actions for finding/showing uses of symbols
and datatypes; added a find action to the structure editor
2019-08-28 14:05:28 -04:00
caheckman
06de0d46a0 Merge branch 'GT-3090_NearPointerResolve' into GT-3090_16bit_analysis 2019-08-27 14:40:16 -04:00
caheckman
d9ad00e9ca Move segmentop tag into the pspec 2019-08-27 14:35:44 -04:00
Ryan Kurtz
b40f4e120a Merge remote-tracking branch 'origin/GT-3085_SleighCollisionWarning' 2019-08-26 08:06:37 -04:00
caheckman
539ed98e74 Removed getCallStackShift() and getCallStackMod() from CompilerSpec 2019-08-23 13:03:27 -04:00
caheckman
5944383088 Allow far pointer to near pointer truncations to display as cast 2019-08-23 13:03:26 -04:00
caheckman
4edff2b9f0 adjustments to resolveConstant 2019-08-23 13:03:26 -04:00
Ryan Kurtz
748e7c3e2b Speeding up windows build. 2019-08-23 12:30:33 -04:00
caheckman
612c0d6f3e name to address space map
shortcut to address space map
more adjustments to shortcuts
allow null AddrSpace pointer in raw baselist
holes in the space indices
almost working
GT-2873 decompiler, other, and overlays
GT-2873 added OTHER space to java sleigh compiler, fixed decompiler
exception
isOtherSpace method
isOtherSpace java, addressing code review comments
GT-2873 added null check in decompiler reset
GT-2873 code review changes
Read and write space_other tag in SLA files
Version number for .sla file
GT-2873 fixups after merge
GT-2873 renamed Sparc registers: OTHER->OTHERWIN, WINWSTATE->WSTATE
GT-2873 added option in AddressInput to control OTHER space visibility
GT-2873 OTHER space now global
GT-2873 fixing comments refering to decompiler code in BasicCompilerSpec
2019-08-22 12:30:18 -04:00
caheckman
576afa4088 print both colliding operands, command line option 2019-08-14 17:05:02 -04:00
caheckman
8cce24b334 basic detection of local collisions 2019-08-14 15:17:22 -04:00
Ryan Kurtz
351cf56e6e Merge remote-tracking branch 'origin/GT-3044-dragonmacher-table-popup-cleanup' 2019-08-09 08:15:26 -04:00
dragonmacher
e9c0921cfe GT-3044 - Table Actions - test and review fixes 2019-08-08 16:34:09 -04:00
Ryan Kurtz
34bf3b6585 Merge remote-tracking branch 'origin/GT-2472_James_FindPotentialDecompilerProblems' 2019-08-05 09:36:57 -04:00
dragonmacher
28f6500039 GT-3044 - Table Actions - updated table actions to use the modern action
system
2019-08-02 19:41:30 -04:00
James
836691b17f GT-2472 changes for functional review 2019-07-31 13:39:15 -04:00
adamopolous
c8603123b4 GT-3043: rename function action no longer available on undefined
functions
2019-07-31 10:21:33 -04:00
James
923e709a54 GT-2472 Updated FindPotentialDecompilerProblems script. 2019-07-31 09:43:59 -04:00
Gregory Morse
b915c41764
Update varmap.cc 2019-07-26 10:30:37 +02:00
Gregory Morse
de5be96d8a
Update varmap.hh 2019-07-26 10:28:06 +02:00
Gregory Morse
7d77a1ef49
Update varmap.hh 2019-07-26 00:44:52 +02:00
Gregory Morse
b218cfab9d
VarMap stable_sort throws Invalid Comparator
Can thank Visual Studio 2019 debug build for finding this one.  Only debug build runtime error but this is a legitimate violation of C++ standards.

stable_sort requires a weak strict ordering yet inspection showed duplicates were ending up in the maplist.

The solution is complexity-wise not ideal.  But it certainly works to prevent this bug.
2019-07-26 00:43:52 +02:00
caheckman
29221c10a8 fix for result based sign-bit extraction in optimized division 2019-07-25 09:31:33 -04:00
caheckman
d18f09101c Added PIECE and INT_AND to RuleSLess2Zero. Added RuleRightShiftAnd 2019-07-24 15:52:18 -04:00
caheckman
b0a54473df Debugging RuleSless2Zero 2019-07-24 10:24:56 -04:00
caheckman
6e44b809b9 INT_NEGATE and SUBPIECE in RuleSless2Zero 2019-07-24 09:56:59 -04:00
caheckman
9fc99efc93 Allowing for SUBPIECE normalization 2019-07-23 16:15:36 -04:00
caheckman
c7e3f54212 Added CPUI_INT_NEGATE to RuleEqual2Constant 2019-07-23 15:52:16 -04:00
caheckman
45c0f398d2 tailor conversion of logical to arithmetic sign shift 2019-07-23 14:17:17 -04:00
caheckman
c372c05a20 Sign-bit comparisons through truncation 2019-07-23 12:46:15 -04:00
caheckman
a85f140a53 Rules for sign bit extraction 2019-07-22 13:14:36 -04:00
ghidra1
31163bca26 Bitfields - added simple bitfield viewer and corrected missing support
for bitfields and flex arrays
2019-07-17 11:55:47 -04:00
dragonmacher
a51ef0926d Fixed exception seen when creating a function and then pressing undo 2019-07-15 17:31:55 -04:00
Ryan Kurtz
10372c2e13 Merge remote-tracking branch 'origin/GT-2925-dragonmacher-window-menu-key-bindings' 2019-07-15 16:12:09 -04:00