diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-06-11 07:13:02 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-06-11 09:23:45 +0000 |
| commit | c7d7d81522b8ac26f9ff6b86d616d4d2e2249709 (patch) | |
| tree | a85739f2cc5de57f2dcfbd118bdd30952b3d0d31 | |
| parent | 06767e57b3f22e258850d1b73af23727248aefc9 (diff) | |
docs: remove mentions of strconst
strconst["foo"] was replaced by ptr[in, string["foo"]].
| -rw-r--r-- | docs/syscall_descriptions_syntax.md | 2 | ||||
| -rw-r--r-- | executor/common_linux.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/syscall_descriptions_syntax.md b/docs/syscall_descriptions_syntax.md index 4c3fff882..cad8b60d6 100644 --- a/docs/syscall_descriptions_syntax.md +++ b/docs/syscall_descriptions_syntax.md @@ -9,7 +9,7 @@ arg = argname type argname = identifier type = typename [ "[" type-options "]" ] typename = "const" | "intN" | "intptr" | "flags" | "array" | "ptr" | - "string" | "strconst" | "filename" | "glob" | "len" | + "string" | "filename" | "glob" | "len" | "bytesize" | "bytesizeN" | "bitsize" | "vma" | "proc" | "compressed_image" type-options = [type-opt ["," type-opt]] diff --git a/executor/common_linux.h b/executor/common_linux.h index f7f64a5c6..615879699 100644 --- a/executor/common_linux.h +++ b/executor/common_linux.h @@ -2400,7 +2400,7 @@ static long syz_open_dev(volatile long a0, volatile long a1, volatile long a2) sprintf(buf, "/dev/%s/%d:%d", a0 == 0xc ? "char" : "block", (uint8)a1, (uint8)a2); return open(buf, O_RDWR, 0); } else { - // syz_open_dev(dev strconst, id intptr, flags flags[open_flags]) fd + // syz_open_dev(dev ptr[in, string["/dev/foo"]], id intptr, flags flags[open_flags]) fd char buf[1024]; char* hash; strncpy(buf, (char*)a0, sizeof(buf) - 1); |
