aboutsummaryrefslogtreecommitdiffstats
path: root/docs/program_syntax.md
Commit message (Collapse)AuthorAgeFilesLines
* prog: add support for decimal/octal arguments in text formatAlexander Potapenko2 days1-3/+4
| | | | | | | | | | | Previously, the parser only expected the '0' character to begin an integer argument, which effectively meant it only handled hexadecimal formatting (e.g., `0x...`) when parsing arguments. This change modifies parseArgImpl() to route any starting digit ('0'-'9') to the integer parsing logic. Since `strconv.ParseUint` already handles base-10 parsing using the "0" base flag, this cleanly enables the parser to natively deserialize decimal and octal arguments.
* prog: introduce new Base64 syntax for dataHrutvik Kanabar2022-11-211-1/+1
| | | | | | | | | | | | | The new "$..." syntax is read as a Base64 encoding binary data. Note that users cannot specify the size of the Base64 syntax using the `"..."/<size>` notation. When serialising programs to human-readable form, only compressed types (determined by `IsCompressed()`) are represented using the new Base64 notation. Also add a couple of serialisation tests, checking behaviour for compressed and non-compressed types.
* docs: update docs to reflect the new `async` flagAleksandr Nogikh2021-12-101-0/+22
|
* docs: add a brief program syntax descriptionAleksandr Nogikh2021-09-221-0/+93
Currently the documentation is lacking any description of the textual program representation used by syzkaller. Also, the newly implemented call properties are not described anywhere yet. Fix this by introducing the program_syntax.md file.