syzkaller/sys/fuchsia
Dmitry Vyukov 5ed76afa81 pkg/compiler: check for unused resources
If a resource is never used as an input, it is not useful.
It's effectively the same as using an integer.
Detect such cases, they are quite confusing.
Fix all existing errors in descriptions.
This uncovered some interesting bugs as well,
e.g. use of a completely unrelated fd subtype after copy-paste
(while the resource that was supposed to be used there is completely unused).
2020-08-04 16:53:16 +02:00
..
fidlgen all: fix dup types in func args 2020-07-04 15:05:30 +02:00
layout sys/fuchsia: update "make extract" support code 2020-06-05 15:08:57 -03:00
test sys/fuchsia: Add cprng and vmo tests. 2020-03-21 07:02:15 +01:00
channels_amd64.const sys/fuchsia: describe more syscalls 2017-09-25 08:47:48 +02:00
channels_arm64.const sys/fuchsia: describe more syscalls 2017-09-25 08:47:48 +02:00
channels.txt Update syscalls (#1116) 2019-04-22 11:08:29 -07:00
ddk_amd64.const sys/fuchsia: Update Fuchsia syscalls. 2018-07-07 13:56:36 +02:00
ddk_arm64.const sys/fuchsia: Update Fuchsia syscalls. 2018-07-07 13:56:36 +02:00
ddk.txt tools: add script that checks copyright headers 2020-02-18 16:05:10 +01:00
events.txt pkg/compiler: check for unused resources 2020-08-04 16:53:16 +02:00
fidl_amd64.const sys/fuchsia: semi-automatically generated FIDL launcher description 2018-08-17 14:31:53 -07:00
fidl_arm64.const sys/fuchsia: semi-automatically generated FIDL launcher description 2018-08-17 14:31:53 -07:00
fidl.txt sys/fuchsia: update "make extract" support code 2020-06-05 15:08:57 -03:00
fifos.txt Update syscalls (#1116) 2019-04-22 11:08:29 -07:00
fuchsia_cobalt.syz_amd64.const sys/fuchsia: regenerate FIDL descriptions 2020-06-05 15:08:57 -03:00
fuchsia_cobalt.syz_arm64.const sys/fuchsia: regenerate FIDL descriptions 2020-06-05 15:08:57 -03:00
fuchsia_cobalt.syz.txt sys/fuchsia: regenerate FIDL descriptions 2020-06-05 15:08:57 -03:00
fuchsia_devicesettings.syz_amd64.const sys/fuchsia: Updating Fuchsia definitions 2019-05-21 14:55:36 -07:00
fuchsia_devicesettings.syz_arm64.const sys/fuchsia: Updating Fuchsia definitions 2019-05-21 14:55:36 -07:00
fuchsia_devicesettings.syz.txt sys/fuchsia: fix Fuchsia extract/generate 2019-11-14 16:21:01 -08:00
fuchsia_hardware_ethernet.syz_amd64.const sys/fuchsia: Updating Fuchsia definitions 2019-05-21 14:55:36 -07:00
fuchsia_hardware_ethernet.syz_arm64.const sys/fuchsia: Updating Fuchsia definitions 2019-05-21 14:55:36 -07:00
fuchsia_hardware_ethernet.syz.txt sys/fuchsia: fix Fuchsia extract/generate 2019-11-14 16:21:01 -08:00
fuchsia_io.syz_amd64.const sys/fuchsia: Updating Fuchsia definitions 2019-05-21 14:55:36 -07:00
fuchsia_io.syz_arm64.const sys/fuchsia: Updating Fuchsia definitions 2019-05-21 14:55:36 -07:00
fuchsia_io.syz.txt pkg/compiler: check for unused resources 2020-08-04 16:53:16 +02:00
fuchsia_ldsvc.syz_amd64.const sys/fuchsia: Updating Fuchsia definitions 2019-05-21 14:55:36 -07:00
fuchsia_ldsvc.syz_arm64.const sys/fuchsia: Updating Fuchsia definitions 2019-05-21 14:55:36 -07:00
fuchsia_ldsvc.syz.txt sys/fuchsia: fix Fuchsia extract/generate 2019-11-14 16:21:01 -08:00
fuchsia_mem.syz.txt sys/fuchsia: regenerate FIDL descriptions 2020-06-05 15:08:57 -03:00
fuchsia_net.syz_amd64.const sys/fuchsia: regenerate FIDL descriptions 2020-06-05 15:08:57 -03:00
fuchsia_net.syz_arm64.const sys/fuchsia: regenerate FIDL descriptions 2020-06-05 15:08:57 -03:00
fuchsia_net.syz.txt sys/fuchsia: regenerate FIDL descriptions 2020-06-05 15:08:57 -03:00
fuchsia_process.syz_amd64.const sys/fuchsia: Updating Fuchsia definitions 2019-05-21 14:55:36 -07:00
fuchsia_process.syz_arm64.const sys/fuchsia: Updating Fuchsia definitions 2019-05-21 14:55:36 -07:00
fuchsia_process.syz.txt sys/fuchsia: fix Fuchsia extract/generate 2019-11-14 16:21:01 -08:00
fuchsia_scpi.syz_amd64.const sys/fuchsia: Updating Fuchsia definitions 2019-05-21 14:55:36 -07:00
fuchsia_scpi.syz_arm64.const sys/fuchsia: Updating Fuchsia definitions 2019-05-21 14:55:36 -07:00
fuchsia_scpi.syz.txt sys/fuchsia: fix Fuchsia extract/generate 2019-11-14 16:21:01 -08:00
futexes.txt Update syscalls (#1116) 2019-04-22 11:08:29 -07:00
handles_amd64.const sys/fuchsia: describe more syscalls 2017-09-25 08:47:48 +02:00
handles_arm64.const sys/fuchsia: describe more syscalls 2017-09-25 08:47:48 +02:00
handles.txt Update syscalls (#1116) 2019-04-22 11:08:29 -07:00
hypervisor_guests_amd64.const sys/fuchsia: Update Fuchsia syscalls. 2018-07-07 13:56:36 +02:00
hypervisor_guests_arm64.const sys/fuchsia: Update Fuchsia syscalls. 2018-07-07 13:56:36 +02:00
hypervisor_guests.txt tools: add script that checks copyright headers 2020-02-18 16:05:10 +01:00
init.go prog: refactor target.MakeMmap 2020-04-18 14:35:45 +02:00
jobs_amd64.const sys/fuchsia: Updating Fuchsia definitions 2019-05-21 14:55:36 -07:00
jobs_arm64.const sys/fuchsia: Updating Fuchsia definitions 2019-05-21 14:55:36 -07:00
jobs.txt sys/fuchsia: Updating Fuchsia definitions 2019-05-21 14:55:36 -07:00
log_amd64.const sys/fuchsia: describe more syscalls 2017-09-25 08:47:48 +02:00
log_arm64.const sys/fuchsia: describe more syscalls 2017-09-25 08:47:48 +02:00
log.txt prog: add ignore_return and breaks_returns call attribtues 2020-04-19 10:26:57 +02:00
objects_amd64.const sys/fuchsia: Updating Fuchsia definitions 2019-05-21 14:55:36 -07:00
objects_arm64.const sys/fuchsia: Updating Fuchsia definitions 2019-05-21 14:55:36 -07:00
objects.txt pkg/compiler: check for unused resources 2020-08-04 16:53:16 +02:00
ports_amd64.const sys/fuchsia: describe more syscalls 2017-09-25 08:47:48 +02:00
ports_arm64.const sys/fuchsia: describe more syscalls 2017-09-25 08:47:48 +02:00
ports.txt Update syscalls (#1116) 2019-04-22 11:08:29 -07:00
posix_amd64.const sys/fuchsia: Update Fuchsia syscalls. 2018-07-07 13:56:36 +02:00
posix_arm64.const sys/fuchsia: Update Fuchsia syscalls. 2018-07-07 13:56:36 +02:00
posix.txt pkg/compiler: check for unused resources 2020-08-04 16:53:16 +02:00
processes.txt Update syscalls (#1116) 2019-04-22 11:08:29 -07:00
sockets_amd64.const sys/fuchsia: update socket syscalls 2019-08-14 09:34:25 +02:00
sockets_arm64.const sys/fuchsia: update socket syscalls 2019-08-14 09:34:25 +02:00
sockets.txt sys/fuchsia: update socket syscalls 2019-08-14 09:34:25 +02:00
streams.txt pkg/compiler: check for unused resources 2020-08-04 16:53:16 +02:00
sys.txt Update syscalls (#1116) 2019-04-22 11:08:29 -07:00
tasks_amd64.const sys/fuchsia: remove deprecated exception APIs 2019-11-14 16:21:01 -08:00
tasks_arm64.const sys/fuchsia: remove deprecated exception APIs 2019-11-14 16:21:01 -08:00
tasks.txt sys/fuchsia: remove deprecated exception APIs 2019-11-14 16:21:01 -08:00
threads.txt Update syscalls (#1116) 2019-04-22 11:08:29 -07:00
time_amd64.const sys/fuchsia: Remove read_status from zx_channel_call args, and reflect zx_time_t type change (unsigned -> signed) 2018-08-24 20:01:29 -07:00
time_arm64.const sys/fuchsia: description for fuchsia.io FIDL interfaces 2018-08-27 14:01:34 -07:00
time.txt prog: add ignore_return and breaks_returns call attribtues 2020-04-19 10:26:57 +02:00
timers_amd64.const sys/fuchsia: describe more syscalls 2017-09-25 08:47:48 +02:00
timers_arm64.const sys/fuchsia: describe more syscalls 2017-09-25 08:47:48 +02:00
timers.txt Update syscalls (#1116) 2019-04-22 11:08:29 -07:00
vmars_amd64.const sys/fuchsia: add more descriptions 2017-10-02 10:53:28 +02:00
vmars_arm64.const sys/fuchsia: add more descriptions 2017-10-02 10:53:28 +02:00
vmars.txt sys/fuchsia: update VMAR syscalls 2018-11-21 05:56:43 +01:00
vmos_amd64.const sys/fuchsia: regenerate FIDL descriptions 2020-06-05 15:08:57 -03:00
vmos_arm64.const sys/fuchsia: regenerate FIDL descriptions 2020-06-05 15:08:57 -03:00
vmos.txt sys/fuchsia: remove RESIZEABLE flags from vmo ops. 2019-07-16 16:34:29 +02:00