[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 03/14] add mach_host tests

From: Luca
Subject: Re: [PATCH 03/14] add mach_host tests
Date: Sat, 6 Jan 2024 22:27:51 +0100

Il 06/01/24 20:43, Sergey Bugaev ha scritto:
On Sat, Jan 6, 2024 at 10:26 PM Luca <luca@orpolo.org> wrote:
Uhm, I still have an issue, although a bit different now:

By the way, the exception is still the same (General Protection, which
is usually forwarded to user space), but for a different reason,
apparently a non-canonical address in $rax=0x8000020175c0

I think this is just that you now have to add 2, not 1, to the result
of __builtin_frame_address().

Or better, do what I did in glibc, change it to an explicit function
argument [0], since __builtin_frame_address() doesn't return a useful
(for this purpose) value on aarch64.


great, this works :)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]