Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
compiler-rt
/
2fb08720b11b4c339e191b90d85477c6a2dd74db
/
lib
/
asan
/
asan_fake_stack.h
c519335
[lsan] Support ASan's stack-use-after-return mode in LSan.
by Sergey Matveev
· 11 years ago
e1c68c3
[asan] introduce run-time flag uar_stack_size_log to control the size of FakeStack; don't crash when the fake stack is exhausted, move some code to .cc file
by Kostya Serebryany
· 11 years ago
81b0fe0
[asan] nuke yet another async-signal-safety bug in UAR (oh, my)
by Kostya Serebryany
· 11 years ago
b388987
[asan] further speedup use-after-return: simplify deallocation of fake frames. ~ 20% speedup.
by Kostya Serebryany
· 11 years ago
0f22837
[asan] don't record the class_id in FakeFrame (scratching the last bits of performance)
by Kostya Serebryany
· 11 years ago
dff16d4
[asan] more performance to FakeStack: a) don't used atomic exchange, instead rely on regular load and store and other signal-safe logic; b) remove allocated_from_size_class_mask_ which is not helping much anyway; Another 10% speedup
by Kostya Serebryany
· 11 years ago
9433af3
[asan] second attempt to use TLS with fake stack. This time it looks (more) async-signal safe.
by Kostya Serebryany
· 11 years ago
b1173c2
[asan] a bit of performance improvement in fake stack, generalized one test, fixed android build of another test
by Kostya Serebryany
· 11 years ago
89de457
[asan] add a test for use-after-return and exceptions and fix it. Not 100% sure this is a complete fix, will keep looking for harder cases.
by Kostya Serebryany
· 11 years ago
3b37dd4
[asan] limit the size of the fake stack with a reasonable constant. This fixes a failure when the main thread's stack is considered unlimited (very large).
by Kostya Serebryany
· 11 years ago
c98fc1f
[asan] hopefully make the FakeStack async-signal safe, enable the related test
by Kostya Serebryany
· 11 years ago
ac3ae5d
[asan] fully re-implement the FakeStack (use-after-return) to make it faster and async-signal-safe. The implementation is not yet complete (see FIXMEs) but the existing tests pass.
by Kostya Serebryany
· 11 years ago
34e3ed1
[asan] refactor the use-after-return API so that the size class is computed at compile time instead of at run-time. compiler-rt part
by Kostya Serebryany
· 11 years ago
73dc36e
[asan] make use-after-return handle very deep recursion; fixes 483.xalancbmk in UAR mode
by Kostya Serebryany
· 11 years ago
7a0bba4
[asan] initialize fake_stack lazily and increase its maximal size. This makes -fsanitize=address,use-after-return more robust: all SPEC tests pass now. In the default mode thread stacks become a bit smaller.
by Kostya Serebryany
· 11 years ago
5e97ba3
Fix MSVC W3 compiler warnings
by Timur Iskhodzhanov
· 11 years ago
37f9464
[asan] make heavy_uar_test a bit more heavy and fix he fake stack to pass this test
by Kostya Serebryany
· 11 years ago
ce0f7d1
[asan] fix use-after-return functionality (PR15672) and enable the corresponding test. We still don't guarantee anything with regard to use-after-return checking
by Kostya Serebryany
· 11 years ago
244384d
[asan] move fake stack into a separate .h file; actually disable a failing test
by Kostya Serebryany
· 11 years ago