From b41c2c718493c6fc398f5b36803f9860a42eeb31 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 29 Jun 2019 07:04:24 -0700 Subject: . --- subx/056trace.subx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subx/056trace.subx b/subx/056trace.subx index 3e65b8b8..aeb572d3 100644 --- a/subx/056trace.subx +++ b/subx/056trace.subx @@ -77,7 +77,7 @@ $initialize-trace-stream:end: # Append a string to the given trace stream. # Silently give up if it's already full. Or truncate the string if there isn't enough room. -trace: # line : string +trace: # line : (address string) # . prolog 55/push-EBP 89/copy 3/mod/direct 5/rm32/EBP . . . 4/r32/ESP . . # copy ESP to EBP @@ -289,7 +289,7 @@ $check-trace-scans-to:end: c3/return # Start scanning from Trace-stream->read for 'line'. If found, update Trace-stream->read and return true. -trace-scan: # line : string -> result/EAX : boolean +trace-scan: # line : (address string) -> result/EAX : boolean # pseudocode: # push Trace-stream->read # while true: @@ -525,7 +525,7 @@ test-trace-scan-failure-leaves-read-index-untouched: # . end c3/return -next-line-matches?: # t : (address stream), line : string -> result/EAX : boolean +next-line-matches?: # t : (address stream), line : (address string) -> result/EAX : boolean # pseudocode: # while true: # if (currl >= maxl) break -- cgit 1.4.1-2-gfad0