-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
may be link with #5
seem that if there is more than one element in an array ints are not parsed
(if there is only one int it is parsed)
here a strace of a program with a select
> ./strace a.out
select(255, [0], [1 2], [0 1 2], {tv_sec=0, tv_usec=962357}) = 2 (out [1 2], left {tv_sec=0, tv_usec=962344})which will produce
{
"syscall": "select",
"args": [
255,
[
0
],
[
"1",
"2"
],
[
"0",
"1",
"2"
],
{
"tv_sec": 0,
"tv_usec": 962357
}
],
"result": "2 (out [1 2], left {tv_sec=0, tv_usec=962344})",
"timing": null,
"pid": null,
"type": "SYSCALL"
}if we look at the args array, the second parameter is an array of integer but the third parameter is an array of strings.
Thanks for this module it's really useful.
Metadata
Metadata
Assignees
Labels
No labels