diff --git a/scripts/static-pie-prestub-amd64-shorter.asm b/scripts/static-pie-prestub-amd64-shorter.asm index 37c1e807..5aba00cd 100644 --- a/scripts/static-pie-prestub-amd64-shorter.asm +++ b/scripts/static-pie-prestub-amd64-shorter.asm @@ -56,8 +56,8 @@ _decode_output: jnz _decode_output jmp _decode_loop _decode_zeros: - movzx ecx, byte [rdi-1] dec rdi + movzx ecx, byte [rdi] rep stosb ; the fact we jumped to here ensures al=0 jmp _decode_loop_2 diff --git a/scripts/static-pie-prestub-amd64-shorter.bin b/scripts/static-pie-prestub-amd64-shorter.bin index bf1c3b48..87ba8fff 100644 --- a/scripts/static-pie-prestub-amd64-shorter.bin +++ b/scripts/static-pie-prestub-amd64-shorter.bin @@ -1 +1 @@ -j X™E1ÉV1ÿj^²j"AZjÿAX^H—°Áà ¬,#™r#tþÈ’¬,$kÀ[ЪÁèöÄu÷ë߶OÿHÿÏóªë×H+øÿ× \ No newline at end of file +j X™E1ÉV1ÿj^²j"AZjÿAX^H—°Áà ¬,#™r"tþÈ’¬,$kÀ[ЪÁèöÄu÷ëßHÿ϶óªëØH+øÿ× \ No newline at end of file diff --git a/scripts/static-pie-template-amd64-shorter.rs b/scripts/static-pie-template-amd64-shorter.rs index 87d7034a..616b5418 100644 --- a/scripts/static-pie-template-amd64-shorter.rs +++ b/scripts/static-pie-template-amd64-shorter.rs @@ -5,4 +5,4 @@ $$$$solution_src$$$$ } // SOLUTION END -#[no_link]extern crate std;#[no_mangle]unsafe fn _start(){std::arch::asm!(".quad 56c931459958096ah,6a07b25e016aff31h,0f5841ff6a5a4122h,0e0c11fb097485e05h,74237299232cac0dh,6b242cac92c8fe16h,8e8c1aad0015bc0h,0fdfebf77510c4f6h,0aaf3cfff48ff4fb6h,0d7fff87f2b48d7ebh",in("rsi")r$$$$binary_raw_base91$$$$.as_ptr())} \ No newline at end of file +#[no_link]extern crate std;#[no_mangle]unsafe fn _start(){std::arch::asm!(".octa 6a07b25e016aff3156c931459958096ah,0e0c11fb097485e050f5841ff6a5a4122h,6b242cac92c8fe1674227299232cac0dh,48dfebf77510c4f608e8c1aad0015bc0h,0d7fff87f2b48d8ebaaf30fb60fcfffh",in("rsi")r$$$$binary_raw_base91$$$$.as_ptr())} \ No newline at end of file