google / google/sanitizers

need to instrument thread-local globals

Open
#12 2 comments 0 reactions 1 assignee Claimed by @kcc View on GitHub
Priority-Medium ProjectAddressSanitizer Status-Accepted Type-Enhancement
Dominant language
C
Stars
12.5k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Originally reported on Google Code with ID 12

```
Currently, asan does not instrument thread-local globals, but it should.

Two problems here:

1. The address of main thread's thread-local is not available at the link time where
we currently form the array which will be passed to __asan_register_globals

2. Need to poison the non-main-thread's copies somehow.
```

Reported by `konstantin.s.serebryany` on 2011-11-23 02:38:42

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.