From 8b7e1ee2d729b106bbd6e867c948254e6e3043ac Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 6 Apr 2020 15:10:26 -0700 Subject: 6195 This bug was never caught because we've never tested with more than 2 segments. --- apps/survey.subx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/survey.subx') diff --git a/apps/survey.subx b/apps/survey.subx index 817645ab..99eb54df 100644 --- a/apps/survey.subx +++ b/apps/survey.subx @@ -1445,7 +1445,7 @@ compute-addresses: # segments: (addr stream {string, segment-info}), labels: (a 8d/copy-address 1/mod/*+disp8 6/rm32/esi . . . 0/r32/eax 0xc/disp8 . # copy esi+12 to eax # max/ecx = &segments->data[segments->write] 8b/copy 0/mod/indirect 6/rm32/esi . . . 1/r32/ecx . . # copy *esi to ecx - 01/add 3/mod/direct 1/rm32/ecx . . . 6/r32/esi . . # add esi to ecx + 8d/copy-address 1/mod/*+disp8 4/rm32/sib 6/base/esi 1/index/ecx . 1/r32/ecx 0xc/disp8 . # copy esi+ecx+12 to ecx $compute-addresses:segment-loop: # if (srow >= max) break 39/compare 3/mod/direct 0/rm32/eax . . . 1/r32/ecx . . # compare eax with ecx -- cgit 1.4.1-2-gfad0 a0fc820ad758e11'>commit diff stats
path: root/README.md
blob: ce7537e7243be599d6b4722d665852c3a2c0d208 (plain) (tree)
1
2
3
4
5
6
7
8