syzkaller/tools
Aleksandr Nogikh 9133037195 all: integrate with mac80211_hwsim
Two virtual wireless devices are instantiated during network devices
initialization.

A new flag (-wifi) is added that controls whether these virtual wifi
devices are instantiated and configured during proc initialization.

Also, two new pseudo syscalls are added:
1. syz_80211_inject_frame(mac_addr, packet, packet_len) -- injects an
arbitrary packet into the wireless stack. It is injected as if it
originated from the device identitied by mac_addr.
2. syz_80211_join_ibss(interface_name, ssid, ssid_len, mode) --
puts a specific network interface into IBSS state and joins an IBSS
network.

Arguments of syz_80211_join_ibss:
1) interface_name -- null-terminated string that identifies
a wireless interface
2) ssid, ssid_len -- SSID of an IBSS network to join to
3) mode -- mode of syz_80211_join_ibss operation (see below)

Modes of operation:
JOIN_IBSS_NO_SCAN (0x0) -- channel scan is not performed and
syz_80211_join_ibss waits until the interface reaches IF_OPER_UP.
JOIN_IBSS_BG_SCAN (0x1) -- channel scan is performed (takes ~ 9
seconds), syz_80211_join_ibss does not await IF_OPER_UP.
JOIN_IBSS_BG_NO_SCAN (0x2) -- channel scan is not performed,
syz_80211_join_ibss does not await IF_OPER_UP.

Local testing ensured that these syscalls are indeed able to set up an
operating network and inject packets into mac80211.
2020-09-22 10:12:23 +02:00
..
android Android: Add simple test harness for Sandbox 2018-10-12 16:39:26 +02:00
docker tools/create-image.sh: support for foreign architectures 2020-09-13 16:05:25 +02:00
fops_probe all: use more respective language 2020-06-11 23:19:34 +02:00
kcovfuzzer tools/kcovfuzzer: add simple KCOV/libfuzzer glue 2019-09-19 15:56:24 +02:00
kcovtrace tools/kcovtrace: Fix the format of kcovtrace.c 2019-06-11 15:25:32 +02:00
syz-benchcmp tools/syz-benchcmp: update name of coverage stat 2019-04-08 15:10:07 +02:00
syz-bisect pkg/bisect: add ccache option 2020-09-21 11:23:04 +02:00
syz-check pkg/compiler: merge const files into a single file 2020-08-13 17:22:16 +02:00
syz-cover pkg/cover: add test for report generation 2020-05-27 14:38:28 +02:00
syz-crush tools/syz-crush: Add debug option 2020-06-16 12:43:23 +02:00
syz-db tools/syz-db: implement memory benchmarking function 2020-05-05 14:01:52 +02:00
syz-declextract sys/windows: add more descriptions 2017-09-27 20:17:09 +02:00
syz-execprog all: integrate with mac80211_hwsim 2020-09-22 10:12:23 +02:00
syz-expand tools: add syz-expand 2019-09-23 17:13:23 +02:00
syz-fmt pkg/osutil: provide better Rename 2018-12-17 19:09:10 +01:00
syz-headerparser tools/syz-headerparser/headerlib 2020-06-19 14:44:08 +02:00
syz-hubtool tools/syz-hubtool: fix up drain mode 2020-08-07 18:39:45 +02:00
syz-imagegen tools/syz-imagegen: add 20 more filesystems 2020-09-20 15:12:12 +02:00
syz-linter tools/syz-linter: check comments format 2020-07-12 08:22:44 +02:00
syz-make tools/syz-make: reduce number of make jobs 2020-06-19 11:56:47 +02:00
syz-mutate prog: support disabled attribute 2020-05-04 20:56:20 +02:00
syz-prog2c all: integrate with mac80211_hwsim 2020-09-22 10:12:23 +02:00
syz-reporter tools/syz-linter: enable some standard linters 2020-07-10 18:16:58 +02:00
syz-repro pkg/repro: don't enable features missing on the target 2020-06-03 11:35:08 +02:00
syz-reprolist all: integrate with mac80211_hwsim 2020-09-22 10:12:23 +02:00
syz-runtest pkg/runtest: test parsing of all tests 2020-09-13 19:28:47 +02:00
syz-showprio tools/syz-showprio: add a tool to visualize the priority table 2019-09-23 15:35:26 +02:00
syz-stress all: integrate with mac80211_hwsim 2020-09-22 10:12:23 +02:00
syz-symbolize pkg: get and store Maintainers data 2020-07-31 17:18:29 +02:00
syz-testbuild pkg/bisect: add ccache option 2020-09-21 11:23:04 +02:00
syz-trace2syz pkg, prog: add per-field direction attribute 2020-08-13 13:50:25 +02:00
syz-tty Fix incorrect argument in syz-tty (#260) 2017-06-27 16:55:11 +02:00
syz-upgrade prog: introduce strict parsing mode 2018-12-10 16:37:01 +01:00
syz-usbgen all: fix marking of auto-generated files 2020-07-29 13:36:11 +02:00
check_links.py tools/check_links.py: detect absolute links 2020-05-19 12:52:04 +02:00
check-commits.sh tools/check-commits.sh: use PR head instead of base 2020-08-06 11:49:45 +02:00
check-copyright.sh all: fix marking of auto-generated files 2020-07-29 13:36:11 +02:00
check-language.sh tools: update ietf link to the latest version 2020-06-13 20:04:08 +02:00
check-whitespace.sh tools/check-whitespace.sh: check for trailing whitespaces 2020-09-14 09:55:45 +02:00
create-gce-image.sh tools/create-gce-image.sh: support s390x 2020-09-14 13:09:25 +02:00
create-image.sh tools/create-image.sh: map qemu -> Debian architecture names 2020-09-18 07:52:38 +02:00
create-openbsd-gce-ci.sh tools/create-openbsd: auto-detect snapshot version (#2082) 2020-09-01 10:54:55 -07:00
create-openbsd-vmm-worker.sh tools/create-openbsd: auto-detect snapshot version (#2082) 2020-09-01 10:54:55 -07:00
demo_setup.sh tools: improve demo_setup.sh 2018-04-07 12:33:23 +02:00
fuzzit.sh go.mod: add go-fuzz-build 2020-07-04 15:05:30 +02:00
syz-big-env tools: add syz-big-env 2020-06-02 13:39:30 +02:00
syz-env tools/docker: add old-env 2020-08-22 21:42:13 +02:00
syz-old-env tools/docker: add old-env 2020-08-22 21:42:13 +02:00