* helper function to add a standard sysv call to the chain.
(rip, rdi, rsi, rdx, rcx, r8, r9)
| 148 | * helper function to add a standard sysv call to the chain. |
| 149 | */ |
| 150 | fcall(rip, rdi, rsi, rdx, rcx, r8, r9) { |
| 151 | this.push_sysv(rdi, rsi, rdx, rcx, r8, r9); |
| 152 | if (this.stack_entry_point.add32(this.count * 0x8).low & 0x8) { |
| 153 | this.push(gadgets["ret"]); |
| 154 | } |
| 155 | this.push(rip); |
| 156 | } |
| 157 | |
| 158 | /** |
| 159 | * returns the current stack pointer. |
no test coverage detected