Current-Users archive

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

Re: gcc 5.3 version of libasan is broken



In article <8e911ed8-0fc3-ab57-6be0-11aa5e23e3b1%rk.phys.keio.ac.jp@localhost>,
Rin Okuyama  <rokuyama%rk.phys.keio.ac.jp@localhost> wrote:
>Note that -fsanitize=address is not yet working on 32bit big-endian
>machines, although it does not fall into SEGV. For example, Report()
>does not work as return values of __syscall(SYS_write) and strlen(3)
>are not consistent due to a similar problem to (2). Should we use
>syscall(2) rather than __syscall(2) on 32bit environments except for
>syscalls whose return values are 64bit? Or any other ideas?

This is what I was thinking. Perhaps it is easier to use syscall for ILP32
and __syscall for LP64. But then there is lseek...

christos



Home | Main Index | Thread Index | Old Index