Commit graph

690 commits

Author SHA1 Message Date
caheckman
614f20cfa3 GP-4790 Collapse double precision COPY to address forced storage 2024-08-16 16:26:52 +00:00
emteere
bceb82f733 GP-4742 Added addr='next' to pspec labels. Constrained address spaces for heuristic references 2024-07-29 17:46:50 -04:00
caheckman
9a416877e8 GP-4733 Heap strings 2024-07-22 16:11:58 +00:00
Ryan Kurtz
71fbe5c376 Merge remote-tracking branch 'origin/patch' 2024-07-10 10:12:28 -04:00
caheckman
7198cad876 Clear fake inputs prior to restructureVarnode 2024-06-18 18:41:12 +00: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
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
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
ghidra1
5aafab9ce7 Merge remote-tracking branch 'origin/GP-4566_SwitchIndirectSplit' 2024-05-02 20:05:43 -04:00
caheckman
05818c5c3a GP-4370 Internal Storage 2024-05-02 15:13:32 +00:00
caheckman
d7613fc7b6 GP-4566 Adjustment to protectSwitchPath 2024-04-29 23:53:51 +00:00
caheckman
2e0d6952fb GP-4541 Apply nolocalalias to STORE indirects 2024-04-26 23:48:59 +00:00
caheckman
3c3591f6dc GP-4514 Add check preventing multiple unlabeled switch targets 2024-04-15 19:36:38 +00:00
caheckman
4bbbba3e5a GP-4300 Full extended division in optimized division rules 2024-04-10 19:19:08 +00:00
Ryan Kurtz
42c17a20f8 Merge branch 'GP-0_ryanmkurtz_PR-5262_mehmooda_emulate' (Closes #5262,
Closes #6290, Closes #6292, Closes #5917)
2024-04-01 14:33:20 -04:00
Ryan Kurtz
1c0fc88c45 Merge branch 'GP-0_ryanmkurtz_PR-6276_ekilmer_fix-sleighexample' 2024-04-01 14:26:12 -04:00
Ryan Kurtz
84548843df Merge branch 'GP-0_ryanmkurtz_PR-6372_ekilmer_cpp-open-binary-files' 2024-04-01 14:19:06 -04:00
Ryan Kurtz
affdba0901 Merge branch 'GP-0_ryanmkurtz_PR-5382_ekilmer_fix-asan-initialize-order-fiasco' 2024-04-01 14:11:52 -04:00
Eric Kilmer
e18b424b02
decompiler-cpp: Open sla files as 'binary'
Compressed files need to be opened as binaries when reading. Fixes
opening sla files on Windows.
2024-04-01 12:28:28 -04:00
Ryan Kurtz
f5d956d5e6 Merge remote-tracking branch 'origin/GP-4031_X86SystemVABI' 2024-04-01 11:22:00 -04:00
Ryan Kurtz
ea547fad95 Merge remote-tracking branch 'origin/GP-4394_ArrayIndexFormatting'
(Closes #6019)
2024-04-01 11:20:25 -04:00
Ryan Kurtz
6b4f9b71b5 Merge remote-tracking branch 'origin/patch' 2024-04-01 11:18:56 -04:00
caheckman
b355f9b364 Test for both forward and backward slashes 2024-03-26 20:58:28 +00:00
caheckman
1a573da83d GP-4416 Truncate LoadTable as part of sanity check 2024-03-22 18:02:04 +00:00
RoboSchmied
d7cc532fe3 Fix: 132 typos
Signed-off-by: RoboSchmied <github@roboschmie.de>
2024-03-22 02:25:30 +01:00
caheckman
c674e1f2ec GP-4031 x86 System V ABI 2024-03-13 16:55:44 +00:00
Ryan Kurtz
1cc9abad50 Merge remote-tracking branch 'origin/patch' 2024-03-08 08:54:02 -05:00
Ryan Kurtz
5ecf3a1436 Merge remote-tracking branch 'origin/GP-4376_EmitMarkupDebug'
(Closes #5860)
2024-03-07 09:17:47 -05:00
caheckman
49af7f2db5 GP-4376 Add setPackedOutput to Emit 2024-03-06 22:32:06 +00:00
caheckman
ac0ed8d90b GP-4394 Add formatting to constant array indices 2024-03-05 22:41:52 +00:00
Eric Kilmer
b739e21073
Fix C++ sleighexample
* We need to link to zlib now

* The method for loading compiled sleigh files has changed
2024-03-04 11:41:14 -05:00
caheckman
ae6f7b479c GP-4303 Collapse STARTSYM, ENDSYM, NEXT2SYM, etc. into single token type 2024-02-28 22:02:46 +00:00
Ryan Kurtz
d1dc48547e Merge remote-tracking branch 'origin/GP-4285_CompressedSleigh' 2024-02-28 14:32:37 -05:00
caheckman
8fbd171cdf GP-4285 Compressed SLEIGH 2024-02-28 18:39:15 +00:00
caheckman
8af47cc7b0 GP-4369 Adjust switch variable path detection 2024-02-27 17:47:38 +00:00
Ryan Kurtz
23d471731e Merge remote-tracking branch 'origin/patch' 2024-02-27 12:04:44 -05:00
caheckman
5942e95994 GP-4332 Treat software break as non-returning call 2024-02-27 16:23:26 +00:00
Eric Kilmer
1c2323cad3
Fix ASAN static initialization order fiasco
See here for more details
https://github.com/google/sanitizers/wiki/AddressSanitizerInitializationOrderFiasco

Use the "Construct On First Use" idiom from
https://en.wikibooks.org/wiki/More_C%2B%2B_Idioms/Construct_On_First_Use
2024-02-16 11:58:09 -05:00
Ryan Kurtz
3efa8ce57e Merge remote-tracking branch 'origin/GP-3961_StructureExceptions'
(Closes #5719)
2024-02-12 16:46:07 -05:00
caheckman
690459e2f1 GP-4314 Don't sanity check overridden switch 2024-02-09 18:02:11 +00:00
caheckman
a7ad4aef26 GP-3961 Error messages for setFields 2024-02-07 19:57:11 +00:00