Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 15 Dec 2019 16:51:27 -0500
From: Jeffrey Walton <noloader@...il.com>
To: musl@...ts.openwall.com
Subject: Re: max_align_t mess on i386

On Sun, Dec 15, 2019 at 3:03 PM Alexander Monakov <amonakov@...ras.ru> wrote:
>
> ...
> [SNIP] Which makes those bit positions available for flags
> associated with the pointer, if you can arrange for them to be masked off
> to use the pointer itself.

Be careful of those tricks. I believe they are called Tagged Pointers.

Aarch64 was doing it for a while. It caused a lot of problems in
practice. It was breaking diagnostic tools. It was also holding up the
porting of some libraries.

See, for example,
https://releases.llvm.org/6.0.0/tools/clang/docs/HardwareAssistedAddressSanitizerDesign.html
and https://bugzilla.mozilla.org/show_bug.cgi?id=1143022 .

Jeff

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.