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

Handle multiple flag registers #25

Closed stephen-f0 closed 7 months ago

stephen-f0 commented 7 months ago

Support for architectures to define multiple flag registers with an associated bitmask.

Fixes an LLDB oddity where running on 64-bit Windows presents "eflags" compared to Linux where "rflags" is presented. Can also be used to define multiple different flag registers with differing bitmasks which would all be presented in the UI.

Handles cases where the defined flags register(s) are not exposed in the LLDB register dictionary. Fixes #23