Skip to content
Permalink
Tree: d09a902e9d
Commits on Mar 14, 2019
  1. pkg/build: fix getBuilder for fuchsia.

    mvanotti authored and dvyukov committed Mar 13, 2019
    This CL changes the supported vmType for fuchsia to be QEMU, instead of
    GCE.
    
    This was broken by commit b4e5a74, which changed the behavior of
    getBuilder. It was part of a 6-commit PR trying to add support for
    FreeBSD.
    
    That commit has caused syzkaller to stop being able to build the fuchsia
    image, getting the following error:
    
    `kernel build failed: unsupported image type fuchsia/amd64/qemu`
Commits on Mar 12, 2019
  1. tools/create-image.sh: fix two issues

    mudongliang authored and dvyukov committed Mar 9, 2019
    allow user to provide ADD_PACKAGE and double check if KERNEL is set when perf is enabled
  2. pkg/report: skip memchr in linux reports

    dvyukov committed Mar 11, 2019
  3. docs/freebsd: updates based on recent progress

    markjdb authored and dvyukov committed Mar 11, 2019
    The setup instructions now reflect the steps needed to fuzz a recent
    FreeBSD-CURRENT system.  The previous instructions were written for
    11.0-era FreeBSD and can be simplified.  Steps required only on older
    versions (e.g., 11.2 or 12.0) can be re-added if there is demand, but it
    is expect that most syzkaller users are FreeBSD developers running
    -CURRENT.
    
    - Remove completed TODOs.
    - Document how to build and install a KCOV-enabled kernel.
    - Update set-up steps for a FreeBSD host.  The newly added llvm metaport
      makes it unnecessary to compile clang-format.  The stock QEMU package
      works fine on FreeBSD-CURRENT and it is not necessary to compile QEMU
      binaries anymore.
    - Document steps for preparing an image to be fuzzed under GCE as well
      as QEMU.  (The required steps are identical aside from syz-manager
      configuration.)
  4. pkg/report: match panics from locking a destroyed lock

    markjdb authored and dvyukov committed Mar 9, 2019
    The plain panic message includes an absolute path to the source file
    where we panicked, which may be too long for a report title.
  5. pkg/build: add freebsd

    markjdb authored and dvyukov committed Mar 8, 2019
    For now we must assume that we're building on FreeBSD; cross-compilation
    support isn't quite there yet.
    
    During a build, we first build an updated kernel toolchain if required,
    generate a custom kernel configuration file with KCOV enabled, and build
    a new kernel.  (When running on the custom kernel, "uname -i" will print
    "SYZKALLER" rather than "GENERIC".)  Then, the image is mounted under a
    tmpdir and we install the custom kernel to /boot/kernel.
  6. pkg/vcs: add freebsd

    markjdb authored and dvyukov committed Mar 8, 2019
    This is currently identical to support for OpenBSD and NetBSD.  A
    FreeBSD git repo is available at github.com/freebsd/freebsd.
Commits on Mar 8, 2019
  1. syz-ci: fix error reporting for syzupdater.

    mvanotti authored and dvyukov committed Mar 8, 2019
    syzupdater fails to report build errors because it is constructing the
    dashapi client with the wrong parameters (it is mixing dashboardAddr
    with dashboardClient).
    
    This commit swaps the order of those parameters in syzupdater's
    uploadBuildError function.
    
    Fixes #1044
  2. pkg/report: fix the error corrupting reports

    R3x authored and dvyukov committed Mar 8, 2019
    * fix error with reports
    
    * add additional testdata
  3. docs/netbsd: add the recent bugs (#1046)

    R3x authored and blackgnezdo committed Mar 8, 2019
    * Adding recent bugs
    
    * Follow Linux format of KASAN attribution
Commits on Mar 7, 2019
  1. pkg/runtest: make tests pass on freebsd

    dvyukov committed Mar 7, 2019
    The problem is stupid: <endian.h> should be included as <sys/endian.h> on freebsd.
    Pass actual host OS to executor build as HOSTGOOS and use it to figure out
    how we should include this header.
  2. AUTHORS/CONTRIBUTORS: register myself as an author and a contributor

    markjdb authored and dvyukov committed Mar 7, 2019
  3. sys/freebsd: avoid mangling syscall names

    markjdb authored and dvyukov committed Mar 7, 2019
    syz-extract was removing certain prefixes from syscall names, but this
    caused some problems:
    - freebsd* prefixes are for compatibility syscalls when the syscall ABI
      has changed.  For instance, we have both fstat() and
      freebsd11_fstat(), and it is desirable to fuzz them both.
    - Stripping prefixes may leave us with undefined SYS_ constants.  This
      resulted in some test failures in pkg/csource, which emitted code
      referencing SYS_semctl when it should have been SYS___semctl.
    
    Fix the problem by updating syscall descriptions to match the names
    given by the FreeBSD kernel.  Add some new descriptions for
    compatibility syscalls, fix the mknodat() description (dev_t is now 64
    bits wide on FreeBSD), and remove mknod$loop, which appears to be
    Linux-specific.
  4. pkg/csource: sort sys/types.h to the top on FreeBSD

    markjdb authored and dvyukov committed Mar 7, 2019
    sys/types.h is a special header that is required by many other system
    headers on FreeBSD.
  5. pkg/report: skip retpolines in reports

    dvyukov committed Mar 7, 2019
    These __x86_indirect_thunk_rax broke reports for bad indirect calls.
  6. dashboard/app: add README.md

    dvyukov committed Mar 7, 2019
    Update #1043
Commits on Mar 6, 2019
  1. create-image.sh: Fix "full" package list

    kees authored and dvyukov committed Mar 6, 2019
    The list of packages to install is comma-separated, not space. This
    fixes the "-f full" argument to actually install the expected packages.
  2. pkg/compiler: fix potential nil deref

    dvyukov committed Mar 6, 2019
    One one found on fuzzbuzz.io.
  3. docs/openbsd: update found_bugs.md

    mptre authored and dvyukov committed Mar 6, 2019
Commits on Mar 5, 2019
  1. ci-openbsd-multicore: enable PF (#1033)

    blackgnezdo committed Mar 5, 2019
    * pkg/build/openbsd: copy overlay files from userspaceDir into image
    
    Fixes #1030
  2. pkg/compiler: fix infinite recursion on unions

    dvyukov committed Mar 5, 2019
    Found by go-fuzz on fuzzbuzz.
  3. execprog: fix executing with fault injection

    xairy committed Mar 5, 2019
    If the fault injection flags are not provided, but the log contains a
    fault injection like this:
    
    2017/08/12 17:16:04 executing program 5 (fault-call:4 fault-nth:5):
    
    we fail to enable fault injection in ipc.Config. Fix it.
  4. fuzz.yaml: add pkg/compiler and trace2syz fuzzers

    dvyukov committed Mar 5, 2019
  5. fuzz.yaml: add syz_target tag

    dvyukov committed Mar 5, 2019
    With all targets builtin it crashes fuzzbuzz with OOM.
  6. pkg/report: add better ASan bug parsing for NetBSD

    R3x authored and dvyukov committed Mar 5, 2019
    * Add basic ASan parser
    
    * Fix the test data
    
    * Removed Read|Write parameter
  7. execprog, stress, prog2c: unify flags to enable additional features

    xairy committed Feb 5, 2019
    This change makes all syz-execprog, syz-prog2c and syz-stress accept
    -enable and -disable flags to enable or disable additional features
    (tun, net_dev, net_reset, cgroups and binfmt_misc) instead of having
    a separate flag for each of them.
    
    The default (without any flags) behavior isn't changed: syz-execprog
    and syz-stress enabled all the features (provided the runtime supports
    them) and syz-prog2c disables all of them.
  8. fuzz.yaml: add fuzzer metadata for fuzzbuzz.io

    dvyukov committed Mar 5, 2019
    Let's see how this works!
  9. Update README.md

    dvyukov committed Mar 5, 2019
Commits on Mar 4, 2019
  1. docs: fix a typo and improve formatting (#1031)

    mudongliang authored and blackgnezdo committed Mar 4, 2019
  2. tools/create-image.sh: correct usage examples (#1034)

    zhanggenex authored and blackgnezdo committed Mar 4, 2019
Commits on Mar 1, 2019
  1. tools/*openbsd*: switch to 6.5 now that it's in -beta

    blackgnezdo authored and dvyukov committed Mar 1, 2019
  2. check_links: ignore mailto:* links

    xairy authored and dvyukov committed Mar 1, 2019
  3. docs/akaros: mention syzbot in found bugs

    dvyukov committed Mar 1, 2019
Older
You can’t perform that action at this time.