Skip to content

Commit

Permalink
Clear payload memory area before each run.
Browse files Browse the repository at this point in the history
  • Loading branch information
idc committed Dec 28, 2017
1 parent bbc23a2 commit c173231
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,9 @@
// run payloads forever
for (;;)
{
// Clear payload memory area before each run
p.call(libkernel.add32(0x130), code_addr.add32(0x100000), 0, 0x1FFFF8);

var result = p.call(libkernel.add32(0x11570), thread_id_ptr, 0, code_addr, 0, thread_name);
print("scePthreadCreate: 0x" + result);
if (result == 0)
Expand Down

0 comments on commit c173231

Please sign in to comment.