diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-05-14 08:09:04 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-05-14 08:09:04 -0700 |
commit | 63a9263affbdc2fd7bd90c1eaa99abd3e3ddbf5d (patch) | |
tree | ef870c74d22fbe01d2bfa1281e13a4fda560e783 | |
parent | a42f4613f785163223c8416bd7fa720bc932ed88 (diff) | |
download | mu-63a9263affbdc2fd7bd90c1eaa99abd3e3ddbf5d.tar.gz |
.
Fix a stack bug in survey_baremetal. I'm not sure how my tests weren't crashing, but I won't bother digging further.
-rwxr-xr-x | linux/survey_baremetal | bin | 53105 -> 53111 bytes | |||
-rw-r--r-- | linux/survey_baremetal.subx | 1 |
2 files changed, 1 insertions, 0 deletions
diff --git a/linux/survey_baremetal b/linux/survey_baremetal index 2c7a7ec4..91e0c575 100755 --- a/linux/survey_baremetal +++ b/linux/survey_baremetal Binary files differdiff --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 |