Skip to content
Permalink
Tree: 53c81ea538
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
  4. pkg/runtest: test host.Setup

    dvyukov committed May 21, 2019
    This would catch binfmt_misc breakage on non-linux.
  5. syz-manager: reproduce leaks from hub

    dvyukov committed May 21, 2019
    pkg/repro only enables leak checking when report type is MemoryLeak.
    Since repros from hub always have Unknown type, repro won't reproduce leaks.
    Always set report type to MemoryLeak on leak instances.
  6. pkg/host: don't enable binfmt_misc on non-linux

    dvyukov committed May 21, 2019
    The csource options lack any relation to the tested OS,
    while they do depend on the tested OS (most are linux-specific).
    As the result we enable binfmt_misc, but its setup fails on anything
    other than linux. As a work-around don't enable binfmt_misc on non-linux.
  7. executor: exit after first detected leak in C repros

    dvyukov committed May 21, 2019
    Otherwise C repros print infinite stream of the same leaks again and again.
  8. docs: don't duplicate manager config parameters

    dvyukov committed May 21, 2019
    Currently we have them duplicated in docs/configuration.md
    and the actual source in pkg/mgrconfig/config.go.
    Documentation is missing in one place or another,
    some is outdated, some is phrased slightly differently.
    Move all docs to pkg/mgrconfig/config.go and reference it
    from docs/configuration.md instead.
Commits on May 20, 2019
  1. executor: implement support for leak checking

    dvyukov committed May 18, 2019
    Leak checking support was half done and did not really work.
    This is heavy-lifting to make it work.
    
    1. Move leak/fault setup into executor.
    pkg/host was a wrong place for them because we need then in C repros too.
    The pkg/host periodic callback functionality did not work too,
    we need it in executor so that we can reuse it in C repros too.
    Remove setup/callback functions in pkg/host entirely.
    
    2. Do leak setup/checking in C repros.
    The way leak checking is invoked is slightly different from fuzzer,
    but much better then no support at all.
    At least the checking code is shared.
    
    3. Add Leak option to pkg/csource and -leak flag to syz-prog2c.
    
    4. Don't enalbe leak checking in fuzzer while we are triaging initial corpus.
    It's toooo slow.
    
    5. Fix pkg/repro to do something more sane for leak bugs.
    
    Few other minor fixes here and there.
  2. syz-manager: don't repro non-leaks on leak instance

    dvyukov committed May 20, 2019
    Leak checking is too slow to reproduce other bugs.
  3. pkg/repro: fix no output timeout

    dvyukov committed May 20, 2019
    We duplicated the no output timeout in the repro package,
    and it got out of sync. It's not 3 mins now, but 5 mins.
    Remove the duplication and fix this.
  4. pkg/rpctype: use string type for leak frames

    dvyukov committed May 20, 2019
    We need them as string everywhere.
    Not sure why they were []byte to begin with.
  5. pkg/report: add Type/Frame to Report

    dvyukov committed May 20, 2019
    In several places we do special handling for some crash types.
    Currently we compare report title with magic strings,
    which is error-prone. Add explicit Type to reports.
  6. dashboard/config: update kmemleak config

    dvyukov committed May 20, 2019
    Update to latest linux.
    Enable configs enabled in the kasan config.
Older
You can’t perform that action at this time.