s2e-env icon indicating copy to clipboard operation
s2e-env copied to clipboard

OSMonitor: add api to get TLS storage for threads

Open MRLEE123456 opened this issue 6 years ago • 2 comments

Hi,Tanks for your help! Do you have a way to get the thread's local storage address in a program's child thread?

MRLEE123456 avatar Sep 05 '19 13:09 MRLEE123456

Is it convenient to provide an OSMonitor.cpp that contains this api?

MRLEE123456 avatar Sep 09 '19 14:09 MRLEE123456

Yes. You will need an abstract method in OSMonitor.h and implement it for each type of OS. Windows/Linux manage TLS differently.

vitalych avatar Sep 09 '19 14:09 vitalych