Commit graph

60 commits

Author SHA1 Message Date
caheckman
943ccd322d GP-5869 Fix for some out of bounds array indices and shift amounts 2025-07-31 22:56:19 +00:00
ghidra007
b3f4609330 GP-5718 fix for index issue 2025-07-14 15:17:49 +00:00
Luke Serné
8303061629 Many typo's
These were found using the command below searching for duplicated words,
and manually going through the results to remove the false positives and
reword the true positives. Sometimes I removed the doubled word and
sometimes I replaced the duplicated word.

The grep command:
grep -nIEr '\b([a-zA-Z]+)[[:space:]*]+\1\b' ./Ghidra
2025-04-19 18:06:41 +02:00
caheckman
53d8d182e3 GP-5240 Simplify late expressions where a SUBPIECE is taken of a PIECE 2025-01-08 23:04:23 +00:00
caheckman
21a6a276b2 GP-5184_PtrsubUndoFix 2024-12-17 00:17:23 +00:00
caheckman
8847d2a6b9 GP-2957 Sub-flow through INT_DIV and INT_REM 2024-12-05 00:00:47 +00:00
caheckman
55a026b3ba GP-2470 Support for partial enums 2024-11-15 20:54:17 +00:00
Ryan Kurtz
a4fe327f7c Merge remote-tracking branch 'origin/patch' 2024-10-28 17:29:44 -04:00
caheckman
784540f1c0 GP-4979 Better support for partial array optimizations 2024-10-28 19:34:30 +00:00
hippietrail
d28b139933 correct decendant/decendent/descendent in identifiers, errors, and comments 2024-10-28 23:48:28 +07:00
caheckman
e5969a613c GP-4871 Don't ignore signed to unsigned integer casts for
FLOAT_INT2FLOAT
2024-08-30 18:47:34 +00:00
caheckman
520dc99b11 GP-2559 Calculate maximum precision reaching floating-point operations 2024-08-14 17:19:05 +00:00
caheckman
9a416877e8 GP-4733 Heap strings 2024-07-22 16:11:58 +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
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
caheckman
a67e80c286 GP-4672 Set correct INDIRECT flags during SplitFlow 2024-06-11 18:51:46 +00:00
caheckman
5604178194 GP-3307 Stack strings 2024-06-11 17:41:06 +00: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
caheckman
0a23876e01 GP-3840 Adjustment to FlowBlock::restrictedByConditional 2023-09-13 23:15:24 +00:00
Ryan Kurtz
22e5c1a48b Merge remote-tracking branch 'origin/patch' 2023-07-05 13:58:34 -04:00
caheckman
0b13fc7109 GP-3609 Split based on endianess of output AddrSpace 2023-07-05 17:15:46 +00:00
caheckman
3c08b44a1e GP-3424 Near/far pointer data-type propagation 2023-05-26 16:05:03 -04:00
caheckman
bdf1314b4f GP-2563 SplitDatatype transformer 2023-04-27 12:35:14 -04:00
caheckman
fe137f20f3 GP-3276 Put all C++ classes in ghidra namespace 2023-04-07 11:22:47 -04:00
caheckman
4448f11cb4 GP-2037 RuleDoubleStore 2022-06-01 14:02:03 -04:00
caheckman
e4451fcd49 Refactor TypeStruct and TypeCode restoration 2021-11-17 15:56:56 -05:00
caheckman
1271bf044a Don't let splitflow undo double-precision merges 2021-08-31 16:33:46 -04:00
caheckman
1391e83ce9 Decompiler window integer conversions 2021-07-02 12:01:41 -04:00
caheckman
5f715d73e3 using emplace 2021-01-07 14:36:10 -05:00
caheckman
d2229f235a one more traceForward fix 2020-03-18 10:41:02 -04:00
caheckman
2df81f803b Overlapping input fixes 2020-03-18 10:41:00 -04:00
caheckman
a8f9d4f7ac Fixing some bugs in the new transform framework 2020-03-18 10:40:59 -04:00
caheckman
38b72df280 Truncation amount was not expressed in bytes 2020-03-09 12:06:21 -04:00
caheckman
2ef4843e70 more subvariable extension pushes 2020-02-28 12:13:34 -05:00
caheckman
edb1571fba Let extensions push into subvariable flow 2020-02-26 17:44:52 -05:00
caheckman
762cda04f4 Some adjustments to traceForward to CALLs 2020-02-24 17:10:34 -05:00
caheckman
6beb631e39 Adjust tryCallReturnPull 2020-02-23 12:30:37 -05:00
caheckman
936f541e64 Subvariable flow into switch 2020-02-13 15:06:05 -05:00
caheckman
e6f09b141b More adjustments to boolean propagation 2020-02-13 09:39:35 -05:00
caheckman
1c95e274ff renormalize join addresses 2020-02-07 17:38:44 -05:00
caheckman
c511845cea New consume logic for return value 2020-02-06 15:19:50 -05:00
caheckman
e073773a27 New consume logic for sub-function input parameters 2020-02-05 16:33:28 -05:00
caheckman
3d3b55fe86 eliminate buildUnaryOp in traceForward 2019-11-26 15:06:09 -05:00
caheckman
e90c0c7071 downcast capability in LaneDivide, moved LaneDivide to stackstall 2019-11-16 10:33:29 -05:00
caheckman
fa82d8c8f3 LaneDivide buildRightShift added 2019-11-16 10:33:29 -05:00
caheckman
babc6d4d9b Allow splitting of free varnodes 2019-11-16 10:33:28 -05:00
caheckman
ce0ab31576 bugfixes, overlapping lanerecords check 2019-11-16 10:33:27 -05:00
caheckman
90182c6251 AllowedLanes in Architecture 2019-11-16 10:33:26 -05:00
caheckman
31eab44f54 First pass at LaneDivide transformer 2019-11-16 10:33:25 -05:00
caheckman
ad87a8d40f some doxygen fixes 2019-11-16 10:33:22 -05:00