]> granicus.if.org Git - strace/commit
Enhance printing of unfetchable object addresses in sequences and arrays
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 29 May 2018 09:58:10 +0000 (09:58 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 29 May 2018 09:58:10 +0000 (09:58 +0000)
commiteb2c0b8bdfb8980f3336fc82dc40aafbcdd75eed
tree3a7fe36ca5198e4a68d58bad46996dc5afb2ba8c
parentd54388e1ce5e202cd81970d24d2866ed34d1285b
Enhance printing of unfetchable object addresses in sequences and arrays

* btrfs.c (btrfs_print_tree_search): Print the address of unfetchable
object inside the sequence using printaddr_comment.
* msghdr.c (decode_msg_control): Likewise.
* execve.c (printargv): Print the address of unfetchable object inside
the array using printaddr_comment.
* netlink.c (fetch_nlmsghdr): Add in_array argument.  When in_array
is true, print the address of unfetchable object using
printaddr_comment.
* nlattr.c (fetch_nlattr): Likewise.
* tests/execve.c (main): Update expected output.
* tests/execveat.c (main): Likewise.
* tests/msg_control.c (test_scm_rights1, test_scm_rights2,
test_scm_security): Likewise.
* tests/netlink_protocol.c (send_query): Likewise.
* tests/nlattr.c (test_nlattr): Likewise.
btrfs.c
execve.c
msghdr.c
netlink.c
nlattr.c
tests/execve.c
tests/execveat.c
tests/msg_control.c
tests/netlink_protocol.c
tests/nlattr.c