srg-imperial / SaBRe

Load-time selective binary rewriting
Other
152 stars 16 forks source link

Using pthread_create inside a plugin #92

Open mavy opened 1 year ago

mavy commented 1 year ago

Hi,

Is it possible to call pthread_create, to create a thread inside a plugin?

I tried to follow old issues and forks, and it seems it could be done somehow (with some TLS magic). Any pointer or example?

The thread does not need to be intercepted, only the client.

Regards,