frida / frida-gum

Cross-platform instrumentation and introspection library written in C
https://frida.re
Other
753 stars 245 forks source link

Fix: Stalker disrupts exclusive access by emitting a block event. #784

Closed saicao closed 8 months ago

saicao commented 8 months ago

Stalker generates the block event even when those blocks have exclusive access. This may disrupt the exclusive access when a user handles the block event. It seems that the default stalker event sinker uses spinlocks, which can starve the following thread.

check this issue

oleavr commented 8 months ago

Thanks, great catch! 🙌🏻