MCPcopy Create free account
hub / github.com/GamerHack/GamerHack.github.io / push_get_errno

Method push_get_errno

g2all/700/rop/850.js:172–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

170 }
171
172 push_get_errno() {
173 this.push_gadget("pop rdi; ret");
174 this.push_value(this.errno_addr);
175
176 this.push_call(this.get_gadget("__error"));
177
178 this.push_gadget("mov rax, qword ptr [rax]; ret");
179 this.push_gadget("mov dword ptr [rdi], eax; ret");
180 }
181
182 push_clear_errno() {
183 this.push_call(this.get_gadget("__error"));

Callers

nothing calls this directly

Calls 4

push_gadgetMethod · 0.45
push_valueMethod · 0.45
push_callMethod · 0.45
get_gadgetMethod · 0.45

Tested by

no test coverage detected