frida / frida-gum

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

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

Closed saicao closed 6 months ago

saicao commented 6 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 6 months ago

Thanks, great catch! 🙌🏻