Closed bet4it closed 5 years ago
I think we can do things more efficiently than this PR. I appreciate the effort and apologize for letting it linger for so long. I'd rather alter the state API to be able to fetch specific classes of registers (or even specific important registers) without the need fetch the whole state unnecessarily.
Linux after v4.9 has stopped reporting eip and esp in
/proc/PID/stat
Refer: torvalds/linux@0a1eb2d474edfe75466be6b4677ad84e5e8ca3f5Things need to do before merge this PR: Implement this
TODO
inget_state
: https://github.com/eteran/edb-debugger/blob/fb7643f65927b769668e41ea20f008cdb82f7a19/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformThread.cpp#L164-L165