Skip to content
Permalink
Tree: a547defcdc
Commits on Jun 6, 2019
  1. 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
Commits on May 22, 2019
  1. doc/linux: add one link for linux in the README.md (#1194)

    mudongliang authored and blackgnezdo committed May 22, 2019
Commits on May 21, 2019
  1. sys/fuchsia: Updating Fuchsia definitions

    Pascal Perez authored and mvanotti committed May 20, 2019
    Simply
    
    	make extract TARGETOS=fuchsia SOURCEDIR=<FUCHSIA_DIR>/fuchsia
  2. sys: Updating Fuchsia extraction scripts

    Pascal Perez authored and mvanotti committed May 20, 2019
    Consolidating FIDL library build mappings in one place, so that it can
    be used from extraction, and script invoking fidlgen. This also makes
    code clearer, and provides a more natural path for evolutions / dealing
    with oddities.
    
    Minor doc update post fx command changes.
  3. make changes to prevent failing build

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