Trouble with Constant Propagation in LLIL for x86 Binary Analysis #6305
Unanswered
twinklestar03
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm currently working with LLIL and stumped on some problem of constant propagation. Target binary is x86.
Here's the LLIL I'm working with:
After evaluating
temp2.d
at line 19, I expecttemp2.d
to be0x10
from evaluating theget_reg_value_after
. However, it displays as "UndeterminedValue" on binary view.Below is a screenshot showing the issue:
Additionally, the value at line 20 is not resolved correctly. Given constants,
divu.dp.d
should calculate correct result (0x1f // 0x10 == 1
), instead it is showing "UndeterminedValue":Expected Behavior
Given the context and operations performed, static analysis should be able to determine correct values for both
temp2.d
and division.Question
Where might I be going wrong in my approach? Could there be an issue with the way I’m interpreting the LLIL? Any help would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions