fix ROP.dynamic_syscall() and improve ELF.gadget()