Open FernandoDoming opened 6 years ago
I think that is stack configuration problem. Please try to change uni.STACK_BASE
or uni.STACK_SIZE
, and give me the sample if possible. (because I couldn't get it)
Yes, that was my first thought. I tried multiple values without much luck. My observations:
0x100000
even if you supply a larger numberesp
is always at the top of the stack (or almost), so that makes me thing emulation is running out of stack memoryDo you have any kind of email / IM I can send you the sample(s) / discuss stuff?
Thank you for your observation, that is interesting result. I'll try to investigate cause of the error. Please contact me at public email: icchyr@gmail.com
So after playing around with the included files I tried something more real (this oldish Cerber sample
17fcd7a7162298225b06d85d1d5a90ea
) but looks like Unicorn fails to emulate that (maybe I just need to tweak emulation params).DLLs have been harvested from a Win7 VM (SysWow64 directory).
Test script:
For more details and what not you can hit me on email.