blob: 071ce3aaa5320b3874600c27a9907f005b38af2b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
[
{
"match": [
{ "read": { "path": "/tmp/abcd2", "buf": { "tag": "buf" }, "count": { "tag": "count" } } }
],
"call": [
{ "open": { "path": "/tmp/abcd", "flags": "rdonly", "mode": 0 }, "ret": "new_fd" },
{ "read": { "fd": { "tag": { "get": "new_fd" } }, "buf": { "tag": { "set": "new" } }, "count": { "tag": { "get": "count" } } }, "ret": "n" }
],
"write": { "src": "new", "dst": "buf", "count": "n" },
"return": { "value": { "tag": "n" } }
}
]
|