github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/linux/test/udp2 (about) 1 # This creates a UDP socket and injects a packet to the socket. 2 3 r0 = socket$inet_udp(AUTO, AUTO, AUTO) 4 bind$inet(r0, &AUTO={AUTO, 0x4e20, @empty}, AUTO) 5 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) 6 recvfrom(r0, &AUTO=""/10, AUTO, 0x0, 0x0, 0x0)