On Mon, Jan 19, 2015 at 11:17 AM, Venkataramanan Kumar
<[email protected]> wrote:
> Hi Dmitry,
>
> I am seeing some internal_syscalls like internel_clone, internal_mmap
> written for x86_64 and I am trying to duplicate them for Aarch64.
>
> Have you been seeing this done for MIPS port in LLVM?
>
> regards,
> Venkat,
+address-sanitizer group
Hi Venkat,
I am sure that asan works on several arches other than x86_64. So
there must be some support for such ports.
Can't find internel_clone function, where is it defined?
For simpler syscalls we do:
#include <sys/syscall.h>
uptr internal_read(fd_t fd, void *buf, uptr count) {
sptr res;
HANDLE_EINTR(res, (sptr)internal_syscall(SYSCALL(read), fd, (uptr)buf,
count));
return res;
}
I think it should work for aarch64 as well.
Do you see any concrete issues, compilation errors or difficulties with porting?
--
You received this message because you are subscribed to the Google Groups
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.