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
Common Sunexpression Elimination, Constant Folding and other optimizations that require propagations are not easy or simple in the current r2dec design: there are too many corner cases that may be taken into account [e.g. instructions that affect registers implicitly, like DIV or MUL]. We are working on this in "core2" branch - stay tuned ;)
i wrote a js file that parses the output of r2dec and performs the following substituions. we can use that as inspiration to improve the r2dec core.
I have initially though on that as a regex parser that takes the following:
into
And also we can support nested operations like this:
into:
ideally this can be evaluated because all the elements are constants
The text was updated successfully, but these errors were encountered: