Skip to content
Permalink
Tree: 698773cb4f
Commits on Jun 6, 2019
  1. sys/linux: don't inherit fd_usb from fd

    xairy authored and dvyukov committed Jun 6, 2019
    This is a special fd, we don't want various ioctls be called on it.
  2. pkg/report: improve should_fail regexp

    dvyukov committed Jun 6, 2019
    Some kernels print hex PC value before frames.
    Account for that in should_fail-matching regexp.
  3. pkg/host: enable evdev, hidraw and hiddev when USB fuzzing is on

    xairy authored and dvyukov committed Jun 5, 2019
  4. sys/openbsd: add klog descriptions

    mptre authored and blackgnezdo committed Jun 5, 2019
  5. executor: add cover protection support to OpenBSD (#1215)

    mptre authored and blackgnezdo committed Jun 6, 2019
Commits on Jun 4, 2019
  1. executor: Protect the coverage buffer

    zxombie authored and dvyukov committed Jun 3, 2019
    Add functions to protect and unprotect the coverage buffer. The buffer is
    protected from being written to while tracing. When the trace data is
    sorted we need to make it read/write, but can return it to read only after
    this has completed.
    
    Leave the first page as read/write as we need to clear the length field.
  2. pkg/runtest: detect and ignore flakes

    dvyukov committed Jun 4, 2019
    Add retry logic that detects and ignores episodic flakes.
    This test episodically flakes on syzbot.
    We run with the default timeout, but require a test
    to pass in 50+% of cases.
    Running 72 test binaries in parallel I am getting 35-44 failures out of 72
    with 1 retry. With 3 retries it drops to ~7. With 5 it is close to 0.
    Use 7 retries for now. Let's see if it still flakes.
  3. executor: special-case zx_deadline_after return value

    dvyukov committed Jun 4, 2019
    zx_deadline_after also returns time, not status.
    So don't use it as coverage.
  4. docs/netbsd: Added link to image script

    R3x authored and dvyukov committed Jun 4, 2019
  5. pkg/report: skip refcount_* functions

    dvyukov committed Jun 4, 2019
    These are too generic and don't point to any subsystem. Skip them.
Commits on Jun 3, 2019
  1. docs/openbsd: update found_bugs.md

    mptre authored and dvyukov committed Jun 3, 2019
  2. pkg/build: update env variables for akaros

    mitthu authored and dvyukov committed Jun 3, 2019
    * Remove the environment variable: AKAROS_XCC_ROOT
    (refer to commit: brho/akaros bdab8c3a)
    * Add environment variable AKAROS_TOOLCHAINS which
    points to the parent directory of the old AKAROS_XCC_ROOT.
    (refer to commit: brho/akaro 62ec5c3c)
    * Add "$AKAROS_TOOLCHAINS/x86_64-ucb-akaros-gcc/bin" to PATH.
    
    Signed-off-by: Aditya Basu <mitthu@google.com>
  3. sys/linux: update descriptions of sendmsg/sendmmsg

    Bins94 authored and xairy committed May 20, 2019
    Add sendmsg$inet, sendmmsg$inet for ip_cmsg_send.
    Add sendmsg$inet6, sendmmsg$inet6 for ip6_datagram_send_ctl
  4. pkg/report: add del_timer_sync to skip patterns

    xairy authored and dvyukov committed Jun 3, 2019
  5. syz-manager: increase initial poll batch size

    dvyukov committed Jun 3, 2019
    When the fuzzer starts, it pumps the whole corpus.
    If we do it using the final batchSize, it can be very slow
    batch of size 6 can take more than 10 mins for 50K corpus and slow kernel).
    Use a batch of 30 initially.
  6. pkg/host: disable syz_execute_func

    dvyukov committed Jun 3, 2019
    See the added comment for explanation.
Commits on May 31, 2019
  1. sys/linux: add missing BPF constants

    pchaigno authored and dvyukov committed May 31, 2019
    Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
  2. pkg/runtest: add simple USB runtest

    xairy authored and dvyukov committed Apr 9, 2019
  3. pkg/csource: generate timeouts for USB syzcalls

    xairy authored and dvyukov committed Apr 10, 2019
    This patch only covers per call timeouts, per prog one is not adjusted yet.
  4. sys/linux/vusb.txt: more descriptions to be done

    xairy authored and dvyukov committed May 29, 2019
Commits on May 29, 2019
  1. sys/linux: add missing BPF constants

    pchaigno authored and dvyukov committed May 29, 2019
    Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
  2. pkg/report: ignore more frames for warnings in usb_submit_urb

    xairy authored and dvyukov committed May 29, 2019
  3. dashboard: update USB configs to the latest usb-linus

    xairy authored and dvyukov committed May 29, 2019
    Also clean up config generation scripts a bit.
  4. sys/targets: fix freebsd/386 executor build on some hosts

    dvyukov committed May 29, 2019
    Add -B/usr/lib32 to 386 build flags.
    The story behind -B/usr/lib32 is not completely clear, but it helps in some cases.
    For context see discussion in #1202
  5. pkg/cover: factor out common code into combinePrefix

    dvyukov committed May 26, 2019
    Combining of prefixes is now repeated in 2 places.
    Factor it out into a common function.
  6. pkg/cover: further improve prefix computation

    tuexen authored and dvyukov committed Mar 15, 2019
    When computing the prefix, take the covered and uncovered PCs into
    account.
  7. pkg/cover: improve prefix computation

    tuexen authored and dvyukov committed Mar 15, 2019
    When the prefix becomes the empty string during the computation,
    stop computing it, since the empty string is the result.
  8. sys/freebsd: Add support for fuzzing FreeBSD/i386

    zxombie authored and dvyukov committed May 22, 2019
    Add support to fuzz 32 bit FreeBSD system calls.
Commits on May 27, 2019
  1. pkg/repro: don't double-reverse log entries

    xairy authored and dvyukov committed May 27, 2019
    For extractProgSingle() lastEntries are already reversed, so no need to
    call reverseEntries().
    
    Also for extractProgBisect() there's no point in reversing the entries,
    as the idea is to try connecting multiple programs in chronological order.
  2. pkg/report: improve usb_submit_urb report titles

    xairy authored and dvyukov committed May 27, 2019
  3. dashboard/app: add invalid bugs page

    dvyukov committed May 27, 2019
    Currently it's not possible to list all invalid bugs.
    Add a page that does this.
    It's not referenced from anywhere as it's unclear who/when
    needs it on periodic basis. But if the list is needed
    for something one-off, we have it.
  4. docs: add section about KMEMLEAK to syzbot doc

    dvyukov committed May 27, 2019
Commits on May 24, 2019
  1. pkg/csource: add ability to annotate syscalls using comments in C rep…

    mptre committed May 21, 2019
    …roducers
    
    Providing additional info, especially regarding syscall arguments, in reproducers
    can be helpful. An example is device numbers passed to mknod(2).
    
    This commit introduces an optional annotate function on a per target basis.
    
    Example for the OpenBSD target:
    
      $ cat prog.in
      mknod(0x0, 0x0, 0x4503)
      getpid()
      $ syz-prog2c -prog prog.in
      int main(void)
      {
        syscall(SYS_mmap, 0x20000000, 0x1000000, 3, 0x1012, -1, 0, 0);
        syscall(SYS_mknod, 0, 0, 0x4503); /* major = 69, minor = 3 */
        syscall(SYS_getpid);
        return 0;
      }
Commits on May 23, 2019
  1. pkg/build: Add the KCOV build commands

    R3x authored and dvyukov committed May 22, 2019
Older
You can’t perform that action at this time.