mirror of
https://github.com/rizinorg/shellforge4.git
synced 2026-11-08 17:48:11 -10:00
At some point in the past, it seems like the argument constraint went from "r" (general register) to "g" (anything but non-general registers). Since all syscall callers are changing the stack pointer by pushing "ebx" on the stack without the compiler's knowledge, this causes bugs when the compiler chooses to save the argument on the stack, as it cannot reference it correctly later. Switch back to the "r" constraint to resolve this issue.