aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/init.go
diff options
context:
space:
mode:
authorShankara Pailoor <shankarapailoor@gmail.com>2019-01-16 21:29:10 -0800
committerDmitry Vyukov <dvyukov@google.com>2019-01-17 13:44:43 +0100
commit769e75ed8e06265afdd9b61898b34439086b0028 (patch)
tree05dcf254c273283d734f4e1cc3caa484bb1ec615 /sys/linux/init.go
parent8f0337c5fc0092158e7855c61799f64cca260ed3 (diff)
tools/syz-trace2syz/proggen: add support to generate structs like sockaddr_storage_in6
trace2syz has trouble generating structs like sockaddr_storage_in6 which are wrappers around other structs like sockaddr_in6 because strace just decodes the wrapped struct (sockaddr_in6). This causes trace2syz to generate the addr field of sockaddr_storage_in6 from the af_family field of sockaddr_in6 which triggers an error. We now try and detect these cases and recursively generate the struct.
Diffstat (limited to 'sys/linux/init.go')
0 files changed, 0 insertions, 0 deletions