On Mon, Jun 6, 2016 at 12:15 PM, Cupertino Miranda
<
cupertin...@gmail.com> wrote:
> Hi Dmitry,
>
> At the moment, for baremetal, I care only about libasan.
> Considering that we do not have virtual memory addressing we will need to
> hand set the address range and shadow memory through linker scripts.
>
> One of the difficulties I am having though the code is how to remove the
> dependencies on system calls.
> Any suggestion you can give on that respect?
>
> Theoretically, nothing in libasan looks like it needs system calls or even
> an OS. However, code suggests that it depends on it. Am I wrong, and the OS
> is really a requirement?
What exactly system calls do you mean?
We developed it assuming an OS under us. I guess it should be possible
to port it to baremetal, but it is just not what we assumed so it may
require considerable changes.
I think on baremetal you don't need most of the interceptors (e.g. for
syscalls). And you can also strip lots of optional functionality like
background thread and symbolizer.
> --
> 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
address-saniti...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.