Skip to content
Permalink
Tree: 562efd79c7
Commits on May 27, 2019
  1. 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.
  7. docs: clarify syzbot handling of rebased trees

    dvyukov committed May 20, 2019
  8. docs/openbsd: Record gcloud commands used for /syzkaller

    blackgnezdo authored and dvyukov committed May 20, 2019
Commits on May 18, 2019
  1. pkg/instance: fix types in OverrideVMCount

    dvyukov committed May 18, 2019
    vmConfig value is interface{}, not string.
    So compare with nil and assign int.
Commits on May 17, 2019
  1. dashboard/config: disable CONFIG_RETPOLINE

    dvyukov committed May 17, 2019
    It slows down execution without any benefit for testing.
    Who needs security anyways?
  2. sys/linux: improve binder descriptions

    dvyukov committed May 17, 2019
    Refine some consts to increase changes of correct programs.
    Fix some types. Add comments and a test.
  3. pkg/report: Label powerpc unreliable stack frames as questionable

    ajdlinux authored and dvyukov committed May 8, 2019
    Add a second "questionable" regex to match the powerpc "(unreliable)"
    format.
    
    Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
  4. pkg/report: Add powerpc's __switch_to to function skip list

    ajdlinux authored and dvyukov committed May 8, 2019
    Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
Commits on May 16, 2019
  1. sys/linux: improve binder descriptions

    dvyukov committed May 16, 2019
    Always pass 3 objects in a transaction.
    This allows to specify correct offsets for objects.
    Let's see if this improves coverage.
  2. dashboard/config: disable binder debug

    dvyukov committed May 16, 2019
    Binder is too noisy with debug output.
    Still noisy, but this at least removes part of constant output.
  3. sys/linux: use offsetof in ebtables

    dvyukov committed May 16, 2019
    Resolve 2 TODOs in ebtables using the new offsetof type.
  4. pkg/compiler: add offsetof type

    dvyukov committed May 16, 2019
    Similar to C offsetof gives offset of a field
    from the beginning of the parent struct.
    We have several TODOs in descriptions asking for this.
  5. Rebuild upstream-kmsan.config

    ramosian-glider authored and dvyukov committed May 16, 2019
    Turns out I was using a stale KASAN config which didn't include TOMOYO
    bits.
Commits on May 15, 2019
  1. tools/create-openbsd: valid URIs must use a single slash (#1184)

    blackgnezdo committed May 15, 2019
    Triggered by OpenBSD ftp upgrade which isn't looking kindly
    at double slahses: https://marc.info/?t=155794126200001&r=1&w=2
  2. util.sh: factor out util_add_extra_syzbot_configs

    ramosian-glider committed May 15, 2019
  3. Enable USB fuzzing in KMSAN configs.

    ramosian-glider committed May 14, 2019
    This moves the USB-related parts of generate-config-usb.sh to util.sh
    and reuses them in generate-config-kmsan-from-kasan.sh.
    
    It also updates upstream-kmsan.config
Older
You can’t perform that action at this time.