Skip to content

[Sanitizers][Darwin] Pass offset to __asan_set_shadow_xx #71745

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions compiler-rt/lib/asan_abi/asan_abi_shim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ void __asan_handle_no_return(void) { __asan_abi_handle_no_return(); }

// Variables concerning RTL state. These provisionally exist for completeness
// but will likely move into the Stable ABI implementation and not in the shim.
uptr __asan_shadow_memory_dynamic_address = (uptr)0xdeaddeaddeadbeaf;
int __asan_option_detect_stack_use_after_return = 0;
uptr __asan_shadow_memory_dynamic_address = (uptr)0L;
int __asan_option_detect_stack_use_after_return = 1;

// Functions concerning memory load and store reporting
void __asan_report_load1(uptr addr) {
Expand Down