ucontext

Nick Kostirya nikolay.kostirya at i11.co
Fri Oct 25 07:44:27 UTC 2019


On Thu, 24 Oct 2019 17:54:36 +0300
Konstantin Belousov <kostikbel at gmail.com> wrote:

> 
> I believe you want
> 	uc_context.__gregs[_REG_PC]
> on arm (32bit) and
> 	uc_context.mc_gpregs.gp_elr
> on arm64 for aarch64.
> 
> Sometimes the thumb bit (lowest bit in PC) leaks there, then you should
> mask it.

Thanks!

Although I did not understand your last phrase.
There is leak of what?
Where can I read about it?


More information about the freebsd-arm mailing list