Project-Muteki / pymutekiu

Besta RTOS userland emulator
MIT License
1 stars 0 forks source link

Sometimes yield_from_svc won't stop the emulator immediately #5

Closed dogtopus closed 6 months ago

dogtopus commented 6 months ago

This caused the emulator to continue executing until hitting the adjacent SVC instruction, triggering yield_from_svc again with that adjacent SVC and eventually causing the wrong syscall handler to be called.

Might be a race condition within Unicorn.

dogtopus commented 6 months ago

May be related to unicorn-engine/unicorn#1579.