syzkaller icon indicating copy to clipboard operation
syzkaller copied to clipboard

sys/fuchsia: update the socket system calls

Open corkamig opened this issue 3 years ago • 0 comments

corkamig avatar Aug 09 '22 18:08 corkamig

We also need updated .const files along with .txt files. .const files is how syzkaller knows actual integer values of all these literal constants (e.g. what is ZX_SOCKET_PEEK?). To generate them you need to run something along the lines of make extract TARGETOS=fuchsia SOURCEDIR=.... I see that extract utility had support for fuchsia: https://github.com/google/syzkaller/blob/master/sys/syz-extract/fuchsia.go But I guess it may got rotten.

The format of the files has changed as well. Now instead of per-arch files sockets_amd64.const and sockets_arm64.const, extract will generate a single sockets.txt.const file. So you will need to check-in new files and remove the old ones.

You may add .const file changes per PR. But taking into account the number of PRs for fuchsia, I think we can have a separate PR that updates all files at once.

dvyukov avatar Aug 10 '22 08:08 dvyukov

Codecov Report

Merging #3288 (5627b4c) into master (b49687c) will not change coverage. The diff coverage is n/a.

codecov[bot] avatar Aug 10 '22 08:08 codecov[bot]