ASan needs to keep track of all the libraries loaded during the process lifetime #89

Open
ramosian-glider opened this Issue Aug 31, 2015 · 4 comments

Comments

Projects
None yet
2 participants
Member

ramosian-glider commented Aug 31, 2015

Originally reported on Google Code with ID 89

In the following situation:

> malloc or free gets calls from xyz.dylib
> xyz.dylib gets unloaded 
> a bug happens and we want to report the stack trace of malloc/free which has xyz.dylib
in it. 

we need to restore the library layout at the stack collection time in order to symbolize
it correctly.

Possible solution:

> We keep an epoch counter that is incremented for each dlopen and 
> dlclose (we also write down the [un]loaded library and the slide value 
> each time we do that). For each stack we just sacrifice one frame to 
> keep the corresponding counter. When symbolizing, it's easy to replay 
> the sequence of dlopen/dlclose events and find out which libraries 
> were loaded.

Reported by ramosian.glider on 2012-07-18 09:21:08

Member

ramosian-glider commented Aug 31, 2015

Reported by ramosian.glider on 2014-09-11 11:57:56

Member

ramosian-glider commented Aug 31, 2015

Reported by pbos@webrtc.org on 2015-04-23 09:21:22

  • Blocking: #3402
Member

ramosian-glider commented Aug 31, 2015

Reported by ramosian.glider on 2015-07-30 09:05:30

  • Labels added: ProjectAddressSanitizer
Member

ramosian-glider commented Aug 31, 2015

Adding Project:AddressSanitizer as part of GitHub migration.

Reported by ramosian.glider on 2015-07-30 09:06:54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment