about summary refs log tree commit diff stats
path: root/subx/056trace.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-06-29 07:04:24 -0700
committerKartik Agaram <vc@akkartik.com>2019-07-01 23:09:58 -0700
commitb41c2c718493c6fc398f5b36803f9860a42eeb31 (patch)
tree81193037fc953981d0bf6604667b3b6f0edf215f /subx/056trace.subx
parent676a80bf154caea9df3ba5ad92c12c770e766e95 (diff)
downloadmu-b41c2c718493c6fc398f5b36803f9860a42eeb31.tar.gz
.
Diffstat (limited to 'subx/056trace.subx')
-rw-r--r--subx/056trace.subx6
1 files 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