foundryzero / llef

LLEF is a plugin for LLDB to make it more useful for RE and VR
MIT License
336 stars 18 forks source link

NoneType object has #23

Closed verd1c closed 7 months ago

verd1c commented 7 months ago

LLDB Version: 18.1.1 Platform: x64 Windows 11 Python: Python 3.13.0a5

It seems that on Windows 11 the flag register becomes None at some point before printing

image

verd1c commented 7 months ago

Made an attempt that fixes this in https://github.com/foundryzero/llef/pull/24

stephen-f0 commented 7 months ago

Hi @verd1c

Many thanks for raising this as an issue and your proposed fix. While the fix worked fine when I tested on Windows I've opted to do a wider refactor around the handling of flags registers to:

PR up at #25 - If you have some time I'd be really appreciative if you would be able to test that branch on your specific environment and let us know if it works as expected.

verd1c commented 7 months ago

Hey @stephen-f0,

PR https://github.com/foundryzero/llef/pull/25 seems to work fine on my environment: image

Thanks a lot for fixing! I'll close this now

stephen-f0 commented 7 months ago

Thank you for testing - That fix is now in main