syzkaller/sys/linux/test/udp2
2020-02-18 10:31:04 +01:00

7 lines
403 B
Plaintext

# This creates a UDP socket and injects a packet to the socket.
r0 = socket$inet_udp(AUTO, AUTO, AUTO)
bind$inet(r0, &AUTO={AUTO, 0x4e20, @empty}, AUTO)
syz_emit_ethernet(AUTO, &AUTO={@local, @empty, @void, {@ipv4={AUTO, @udp={{AUTO, AUTO, 0x0, 0x0, AUTO, 0x0, 0x0, 0x0, AUTO, 0x0, @empty, @empty, {[]}}, {0x0, 0x4e20, AUTO, 0x0, @opaque=""/10}}}}}, 0x0)
recvfrom(r0, &AUTO=""/10, AUTO, 0x0, 0x0, 0x0)