From c7d7d81522b8ac26f9ff6b86d616d4d2e2249709 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 11 Jun 2024 07:13:02 +0200 Subject: docs: remove mentions of strconst strconst["foo"] was replaced by ptr[in, string["foo"]]. --- docs/syscall_descriptions_syntax.md | 2 +- 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); -- cgit mrf-deployment