From 63a9263affbdc2fd7bd90c1eaa99abd3e3ddbf5d Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 14 May 2021 08:09:04 -0700 Subject: . Fix a stack bug in survey_baremetal. I'm not sure how my tests weren't crashing, but I won't bother digging further. --- linux/survey_baremetal | Bin 53105 -> 53111 bytes linux/survey_baremetal.subx | 1 + 2 files changed, 1 insertion(+) (limited to 'linux') diff --git a/linux/survey_baremetal b/linux/survey_baremetal index 2c7a7ec4..91e0c575 100755 Binary files a/linux/survey_baremetal and b/linux/survey_baremetal differ diff --git a/linux/survey_baremetal.subx b/linux/survey_baremetal.subx index 34d51d43..016757a8 100644 --- a/linux/survey_baremetal.subx +++ b/linux/survey_baremetal.subx @@ -184,6 +184,7 @@ subx-survey: # infile: (addr buffered-file), out: (addr buffered-file) 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 4/imm32 # add to esp $subx-survey:end: # . reclaim locals + 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 0x18/imm32 # add to esp 03/add 0/mod/indirect 5/rm32/.disp32 . . 4/r32/esp Max-labels/disp32 # add *Max-labels to esp 03/add 0/mod/indirect 5/rm32/.disp32 . . 4/r32/esp Input-size/disp32 # add *Input-size to esp # . restore registers -- cgit 1.4.1-2-gfad0