You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixed all my real array accesses, but looking at the failing unittests it seems to break things not related to actual arrays. (I.e. i know that's not a fix, but it produce better output for my particular case)
(There's another issue in the output related to the while() expression, but that's in another issue.)
The stride should be removed when accessing arrays,
g_a403000[(word32) wLoc08_35 * 0x02]
should beg_a403000[(word32) wLoc08_35]
.I looked at ArrayExpressionMatcher.Transform but changing
into
fixed all my real array accesses, but looking at the failing unittests it seems to break things not related to actual arrays. (I.e. i know that's not a fix, but it produce better output for my particular case)
(There's another issue in the output related to the while() expression, but that's in another issue.)
Sample binary (and .dcproject):
RekoIssueArrayIndex-comp.zip
Incorrect output:
Sample program:
Sample assembly:
The text was updated successfully, but these errors were encountered: