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
This causes an error like: line 30, in __setitem__ self.mu.reg_write(eval("UC_ARM_REG_" + key.upper()), value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> NameError: name 'UC_ARM_REG_SP' is not defined. Did you mean: 'UC_ARM_REG_PC'?
to fix this, modify line 10 to:
from unicorn.arm_const import (UC_ARM_REG_PC, UC_ARM_REG_LR, UC_ARM_REG_SP, UC_ARM_REG_R0)
p.s.: I am tinkering here only because I have watched your YouTube video. Quality management!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This causes an error like:
line 30, in __setitem__ self.mu.reg_write(eval("UC_ARM_REG_" + key.upper()), value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> NameError: name 'UC_ARM_REG_SP' is not defined. Did you mean: 'UC_ARM_REG_PC'?to fix this, modify line 10 to:
from unicorn.arm_const import (UC_ARM_REG_PC, UC_ARM_REG_LR, UC_ARM_REG_SP, UC_ARM_REG_R0)
p.s.: I am tinkering here only because I have watched your YouTube video. Quality management!
Beta Was this translation helpful? Give feedback.
All reactions