Hi,

I am myself trying to over write libasan library. Please let me know if you 
can share the steps.

Thanks,
Fakharu 

On Monday, February 6, 2023 at 3:38:22 PM UTC-8 [email protected] wrote:

> Hi All,
> It is about mips64r6 and gcc-12.2.0.
>
> I am trying to come up with custom ASAN runtime by implementing methods 
> like:
> __asan_report_load1, asan report, etc.
>
> I left all methods empty, printing single log line and methods returning 
> stack allocations are returning NULL, for example:
> uptr __asan_stack_malloc_0(size_t s) { printf("%s\n", __func__); return 
> NULL; }
>
> Instrumented binary crashes so early that it is hard to reason about what 
> exactly is happening.
>
> I do not see any globals that I should have initialized, is there 
> something obvious that I am missing or binary instrumentation itself is 
> tightly coupled with Linux so reimplementing callbacks is not enough?
>
> Thank you!
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/address-sanitizer/ce1fde60-9e0c-42ad-ba01-c15a1c7c794an%40googlegroups.com.

Reply via email to