Skip to content
Permalink
Tree: 06c33b3af0
Commits on Jul 12, 2018
  1. prog: sanitize calls after hints mutation

    dvyukov committed Jul 12, 2018
    Hints mutation could produce unsanitized calls.
    Sanitize calls after hints mutation.
    Also sanitize on load (in validate), because bad programs
    can already be in corpuses. And it's just the right thing
    to do because sanitization rules can change over time.
  2. pkg/report: add report format for "lock held when returning to user s…

    dvyukov committed Jul 12, 2018
    …pace"
    
    This report does not have stack trace, so we always detected it as corrupted.
Commits on Jul 10, 2018
  1. sys/linux: implement fuse as normal syscalls

    dvyukov committed Jul 10, 2018
    Remove syz_fuse* and implement them as normal syscalls.
    We not have enough expressive power to form mount options.
  2. pkg/host: check that we can open files rather than that they exist

    dvyukov committed Jul 10, 2018
    See issue #640 where /dev/net/tun is present, but open fails with ENODEV.
    Check that we can actually open all these files.
    
    Fixes #640
  3. pkg/build: update initrd name

    dvyukov committed Jul 10, 2018
    Seems to have been renamed.
  4. pkg/build: always do clean build for fuchsia

    dvyukov committed Jul 10, 2018
    We frequently see boot errors like:
    
    [00010.201] 02991.03067> pkgsvr: 2018/06/30 23:39:41 system: failed to set system root from blob "ccbadb3901372b1e0fc5275f627f708bf3e5f3acfb0d4268638db0ff75fc7fd4": file does not exist
    
    or:
    
    [00003.691] 01126.01153> devmgr: launchpad /fs/blob/e66739acdd3d8efa3b7c9021e2107cf8431765c0b8eb0a1ec7f7dc7fd305f2f7 (pkgfs) failed: launchpad_vmo_from_file failure: -40
    
    Presumably clean build may help.
  5. syz-ci: don't put dynamic data into boot/test errors

    dvyukov committed Jul 10, 2018
    We append underlying error to the title of boot/test errors.
    The error can come from anywhere and can contain dynamic data,
    which can cause duplication of bugs.
    
    Put the underlying error into report body instead.
Commits on Jul 9, 2018
  1. sys/linux: use fmt in filesystem options

    dvyukov committed Jul 9, 2018
    We currently generate poor formatted intergers,
    generate proper integers using the new fmt type.
  2. pkg/compiler: support negative integers

    dvyukov committed Jul 9, 2018
    Currently we have to use 0xffffffffffffffff to represent -1,
    and we can't express e.g. -20:20 int range.
    Support negative consts to fix both problems.
Commits on Jul 8, 2018
  1. sys/linux: refine 9p descriptions

    dvyukov committed Jul 8, 2018
    RVERSION needs to use 0xffff tag, otherwise parsing fails.
    Use only tags 1 and 2. They are densely allocated,
    so most of the time it's 1. And it needs to be correct in
    multiple replies for mount to succeed. So limit tag space.
  2. executor: tweaks for better 9p testing

    dvyukov committed Jul 8, 2018
    See the added comments.
  3. prog: fix pointer validation

    dvyukov committed Jul 8, 2018
    Query size after validating the object itself,
    otherwise size can panic on corrupted object.
  4. sys/linux: extend 9p descriptions

    dvyukov committed Jul 8, 2018
    Add actual protocol messages.
  5. prog: don't generate filenames that escape sandbox

    dvyukov committed Jul 8, 2018
    All files that fuzzer works with must be in the working dir.
    Using "/" is known to cause problems when fuzzer
    removes files there or mounts something.
  6. prog, pkg/compiler: support fmt type

    dvyukov committed Jul 7, 2018
    fmt type allows to convert intergers and resources
    to string representation.
  7. syz-manager/mgrconfig: default kernel_src to kernel_obj

    dvyukov committed Jul 8, 2018
    ... which in turn defaults to vmlinux.
    This makes it possible to only specify vmlinux or only kernel_obj.
  8. vm: fix "no output" detection

    dvyukov committed Jul 8, 2018
    We obviously need ticker instead of timer in MonitorExecution.
  9. syz-manager: don't print loop state on info requests

    dvyukov committed Jul 8, 2018
    Printing loop state on info requests (e.g. due to http requests)
    is somewhat confusing as no state change actually happens.
Commits on Jul 7, 2018
  1. executor: executor fix fuchsia build

    dvyukov committed Jul 7, 2018
  2. sys/fuchsia: Update Fuchsia syscalls.

    flowerhack authored and dvyukov committed Jul 4, 2018
    Updates cover
    * zx_vmo_create
    * zx_clock_get_monotonic
    * hypervisor- and vCPU-related syscalls
    * system_get_features
    * some DDK syscalls
Commits on Jul 6, 2018
  1. sys/linux: add 9p descriptions

    dvyukov committed Jul 6, 2018
    Only mount for now.
  2. pkg/report: detect partial result errors

    dvyukov committed Jul 6, 2018
  3. sys/linux: update autogenerated files

    dvyukov committed Jul 6, 2018
    "sys/linux: add mount$bpf" commit did not include these changes.
  4. sys/akaros: add all syscalls

    dvyukov committed Jul 6, 2018
  5. pkg/host: disable for akaros

    dvyukov committed Jul 6, 2018
    akaros can't have own host version
    because fuzzer does not run on akaros,
    so just disable it all.
  6. sys/linux: add mount$bpf

    dvyukov committed Jul 6, 2018
    Plus some minor assorted fixes.
  7. pkg/instance: pass -os to execprog/fuzzer only for akaros

    dvyukov committed Jul 6, 2018
    Only akaros needs OS, because the rest assume host OS.
    But speciying OS for all OSes breaks patch testing on syzbot
    because old execprog does not have os flag.
Older
You can’t perform that action at this time.