On Sat, Oct 22, 2016 at 1:22 AM, Yuri Gribov <[email protected]> wrote:

> FYI there have been many attempts in applying ASan to bare-metal and
> at least some were successful. E.g.
> http://events.linuxfoundation.org/sites/events/files/slides/
> Alexander_Popov-KASan_in_a_Bare-Metal_Hypervisor_0.pdf
> and also grep for "bare-metal" and similar stuff in this group.
>
> Given that this has been asked many times already, maybe makes sense
> to add a note to FAQ?
>

Yes, please do!


>
> On Fri, Oct 21, 2016 at 9:37 PM, Konstantin Serebryany
> <[email protected]> wrote:
> > Out of the box we don't have support for your use case.
> > The easiest for you would be to rip off everything you don't have and
> > rebuild the asan run-time.
> >
> > --kcc
> >
> > On Fri, Oct 21, 2016 at 7:47 AM, Nikhil Gupta <[email protected]> wrote:
> >>
> >> Hi,
> >>
> >> I'm working on a project that uses ASAN on embedded arm devices. The
> >> operating system environment is a bare-metal OS with no pthread (TLS)
> >> support and no POSIX syscalls.
> >>
> >> I was wondering if I can
> >>
> >> 1) Get ASAN to build without pthreads (It has been discussed before, but
> >> there was no explanation on how its being done) - Will i have to change
> the
> >> sources to get rid of all the thread code, or is there just a switch
> that I
> >> can add while building?
> >>
> >> 2) Build ASAN for aarch64 but without posix syscalls => some methods
> like
> >> 'abort' and 'syslog' do exist, but I certainly don't have features like
> >> 'dlsym'.
> >>
> >> Thank you in advance!
> >>
> >> -Nikhil
> >>
> >> --
> >> 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.
> >
> >
> > --
> > 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.
>
> --
> 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.
>

-- 
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.

Reply via email to