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/b18d564c-84b6-468c-8d3e-12fd93de25c8n%40googlegroups.com.

Reply via email to