Commit graph

1597 commits

Author SHA1 Message Date
Ryan Kurtz
a0e8a68337 Merge remote-tracking branch 'origin/GP-4733_HeapStrings' 2024-07-22 13:55:20 -04:00
caheckman
9a416877e8 GP-4733 Heap strings 2024-07-22 16:11:58 +00:00
ghidra007
f657b11c1d GP-4748 Updated RttiUtil's find end of vftable to be more accurate. 2024-07-19 21:48:15 +00:00
Ryan Kurtz
2760eebc92 Merge remote-tracking branch 'origin/patch' 2024-07-17 13:27:11 -04:00
ghidra007
c2bf8d0464 GP-4763 Added check that ClassHierarchyDescriptor symbols are not in Global namespace. If they are skip processing it and the associated class. 2024-07-17 16:44:40 +00:00
Ryan Kurtz
71fbe5c376 Merge remote-tracking branch 'origin/patch' 2024-07-10 10:12:28 -04:00
dragonmacher
c7401b1e58 GP-4728 - Decompiler - Updated the 'Edit Data Type' action to now select the structure field row when launching the editor 2024-06-28 12:39:57 -04:00
dragonmacher
62f41a7179 GP-3491 - Decompiler - Added a Search All button to the Find Dialog that will show a table of results 2024-06-25 11:59:05 -04:00
ghidra007
02aba11104 GP-4708 updated createStructure to fix logic error. 2024-06-24 23:11:26 +00:00
caheckman
184c657cfd GP-4708 Adjustments to RecoverClassesFromRTTIScript and
FillOutStructureHelper
2024-06-24 23:11:26 +00:00
Ryan Kurtz
0e33958c76 Merge remote-tracking branch
'origin/GP-3494-dragonmacher-decompiler-highlight-nav-v2--SQUASHED'
(Closes #538)
2024-06-20 06:25:47 -04:00
caheckman
7198cad876 Clear fake inputs prior to restructureVarnode 2024-06-18 18:41:12 +00:00
dragonmacher
9f8b03a90f GP-3494 - Decompiler - Updated the middle-mouse toggle to be persistent when moving the cursor; Added actions for navigating the middle-moused tokens 2024-06-18 14:32:00 -04:00
Ryan Kurtz
22bd5e2d3c Merge remote-tracking branch 'origin/GP-3307_StackStrings'
(Closes #1380, Closes #2285, Closes #6592, Closes #6431)
2024-06-17 06:47:08 -04:00
caheckman
b650848848 GP-4688 Tighter checks on NaN expression truncation 2024-06-14 00:56:47 +00:00
dragonmacher
e18c80f20a Test timing fixes 2024-06-13 18:38:06 -04:00
Ryan Kurtz
48660774dc Merge remote-tracking branch 'origin/patch' 2024-06-13 06:24:42 -04:00
ghidra1
734ff7b669 GP-4689 additional revision to decompiler process setup error handling 2024-06-12 17:31:22 -04:00
ghidra1
9e5ab028c7 Merge branch 'GP-4689_ghidra1_DecompilerProcessSetup' into patch 2024-06-12 16:16:21 -04:00
ghidra1
34954d6df9 GP-4689 correct decompiler processes setup thread interrupt issue 2024-06-12 15:55:39 -04:00
Ryan Kurtz
4816e3945f Merge remote-tracking branch 'origin/GP-4684_caheckman_PR-6540_LukeSerne_decomp-fix-subflow-float-less-input-order' 2024-06-12 11:17:21 -04:00
Ryan Kurtz
9e7a5d8b0c Merge remote-tracking branch 'origin/patch' 2024-06-12 11:16:47 -04:00
Ryan Kurtz
001a65357c Merge remote-tracking branch 'origin/GP-4666_DeindirectOutput' into patch 2024-06-12 11:13:52 -04:00
Ryan Kurtz
6ede2b498f Merge remote-tracking branch 'origin/GP-4582_SwitchGotoLoop' into patch
(Closes #6282)
2024-06-12 11:12:16 -04:00
caheckman
464e33cf08 GP-4582 Make sure newBlockMultiGoto preserves any self edge 2024-06-11 19:09:46 +00:00
caheckman
a67e80c286 GP-4672 Set correct INDIRECT flags during SplitFlow 2024-06-11 18:51:46 +00:00
caheckman
ad3210bd1c GP-4666 Fix for deindirect with multiple output pieces 2024-06-11 18:09:47 +00:00
caheckman
5604178194 GP-3307 Stack strings 2024-06-11 17:41:06 +00:00
Ryan Kurtz
adb295a6be Merge remote-tracking branch 'origin/patch' 2024-06-11 10:12:50 -04:00
dragonmacher
2ff3815cd9 Test fixes 2024-06-11 09:54:16 -04:00
ghidra1
43eb848eac Merge remote-tracking branch 'origin/Ghidra_11.1' 2024-06-06 15:50:48 -04:00
ghidra1
3ebc46a2ca GP-0 Improved process error handling for Decompiler and GNU Demangler.
Corrected minor GNU Demangler demangler command and script issues.
2024-06-06 15:11:14 -04:00
dragonmacher
3bf5dcfbb3 GP-4661 - Added the structure member comment to the tooltip 2024-06-04 15:41:00 -04:00
Luke Serné
c79c9606bc Decompiler: Simplify comparisons between INT_OR and zero.
At -O1, gcc combines several values that all need to be compared against zero by
combining them using `INT_OR` and only comparing the combined result against
zero. With this rule, the decompiler is able to break these `INT_OR` chains
apart and simplify the individual links.
2024-05-25 14:10:05 +02:00
Ryan Kurtz
973bbfc9d3 Merge remote-tracking branch 'origin/Ghidra_11.1' 2024-05-24 08:11:23 -04:00
Ryan Kurtz
ff72278bef GP-0: Fixing javadoc errors 2024-05-24 08:05:59 -04:00
ghidragon
5ea8e97805 GP-3696 - cleaning up function compare windows. 2024-05-23 11:46:33 -04:00
ghidra1
75a86e51c9 Merge remote-tracking branch 'origin/GP-0_SeparatorFix' 2024-05-20 15:12:14 -04:00
Luke Serné
318e4af955 Decompiler: Fix float comparison inputs swap in rule subflow_convert
The decompiler rule `subflow_convert` would sometimes swap the inputs
to the P-Code ops `FLOAT_LESS` and `FLOAT_LESSEQUAL` if the float that
was traced happened to be the second input of the operation, because
the transformed operation had its inputs hardcoded: the traced float
would always be the first input. While this also affected `FLOAT_EQUAL`
and `FLOAT_NOTEQUAL`, it does not matter in those cases, because
swapping the inputs for those operations is still logically equivalent.

Fixes #6528.
2024-05-19 23:03:42 +02:00
Ryan Kurtz
0412b81b88 Merge remote-tracking branch 'origin/Ghidra_11.1' 2024-05-16 13:52:48 -04:00
ghidragon
00d2f17714 GP-4601 fixed code compare window to dispose properly 2024-05-15 15:18:55 -04:00
ghidra007
78425f441d GP-4586 corrected and simplified method to generate class description to
fix order of parents.
2024-05-08 22:39:41 +00:00
ghidra1
5361b13e6f Merge remote-tracking branch 'origin/GP-4535_emteere_FixStoreOfDefaultDisassemblyContext--SQUASHED' 2024-05-02 20:21:52 -04:00
ghidra1
7edb10ab60 Merge remote-tracking branch 'origin/GP-7_emteere_WIndowsResourceReferenceFix' 2024-05-02 20:10:19 -04:00
ghidra1
5aafab9ce7 Merge remote-tracking branch 'origin/GP-4566_SwitchIndirectSplit' 2024-05-02 20:05:43 -04:00
emteere
6ccf256055 GP-4535 Corrected storage of default context on disassembly errors and switch table targets. Improves disassembly for programs with no stored context as context table will be empty. 2024-05-02 14:23:28 -04:00
caheckman
05818c5c3a GP-4370 Internal Storage 2024-05-02 15:13:32 +00:00
Ryan Kurtz
f1e2c8db04 Merge remote-tracking branch 'origin/GP-4541_UnmappedStack' 2024-05-02 10:10:03 -04:00
emteere
09bd2bebe0 GP-7 Added handling of MULTI_EQUAL pcode op while finding constant
resource ids.
2024-04-30 21:53:25 -04:00
caheckman
d7613fc7b6 GP-4566 Adjustment to protectSwitchPath 2024-04-29 23:53:51 +00:00