From 3e91090bb2e2eedc95a105b53644812b8e0dfbc3 Mon Sep 17 00:00:00 2001 From: turret Date: Wed, 13 Sep 2023 13:34:49 +0000 Subject: return normalcy with -v --- cat.s | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cat.s b/cat.s index 37ade09..ec2106a 100644 --- a/cat.s +++ b/cat.s @@ -77,7 +77,9 @@ process_fd: call outpstring mov rcx, [r10] and rcx, 0xff + mov rax, 128 sub rcx, rax + sub [r10], rax jmp .docaret .endsmflushandcont: mov [smallbuf], rcx -- cgit v1.2.3