Skip to content
Permalink
Tree: 8285069f89
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
  4. pkg/compiler: work around 0-array-size errors due to missing consts

    dvyukov committed May 15, 2019
    A const can be used as array size. Then if the const is not present
    on all arches, compiler will produce an error about 0-sized-array.
    There is no easy way to work around this for a user.
    Use value of 1 for missing consts. It's just a bit safer.
  5. Makefile: switch to golangci-lint

    dvyukov committed May 15, 2019
    Finally!
    
    Fixes #977
    Fixes #1108
  6. .golangci.yml: add codeanalysis build tag

    dvyukov committed May 15, 2019
    Using a build tag to exclude files for golangci-lint
    reduces memory consumption (it does not parse them).
    The naive attempt with skip-dirs did not work.
    So add codeanalysis build tag and use it in auto-generated files.
    
    Update #977
Commits on May 14, 2019
  1. prog: fix crash in assignSize on optional pointer

    dvyukov committed May 14, 2019
  2. sys/linux: improve binder descriptions

    dvyukov committed May 14, 2019
    Add few new ioctl's. Add some typedefs for clarity.
  3. sys/linux: improve key and net_sch descriptions

    dvyukov committed May 14, 2019
    Use the len paths to resolve pending TODOs.
  4. pkg/compiler: allow to refer to syscall arguments in len paths

    dvyukov committed May 14, 2019
    This allows to use len[syscall:arg] expressions.
  5. pkg/compiler: refactor len target checking

    dvyukov committed May 14, 2019
    Create named const for "parent" and move some code into a helper function.
  6. sys/akaros: rename syscall argument

    dvyukov committed May 14, 2019
    In preparation for making syscall a reserved name.
  7. sys/linux: improve btf descriptions

    dvyukov committed May 14, 2019
    Now that we have the len path expressions we can fix the TODO
    in btf descriptions to properly specify offsets of btf sections.
    
    Also add proper descriptions for btf type section
    and few other minor things around.
  8. prog: implement complex len target support

    dvyukov committed May 14, 2019
    This actually implements support for complex len targets
    during program generation and mutation.
  9. pkg/compiler: generate complex len targets

    dvyukov committed May 13, 2019
    Change the generated format for len type to support multiple path elements.
  10. pkg/compiler: support complex len targets

    dvyukov committed May 10, 2019
    This change adds compiler support for complex path
    expressions in len targets. E.g. it allows to refer
    to a sibling field as len[parent_struct:field:another_field].
    See the docs change for details.
    
    This is just a compiler change.
    The feature is not yet supported by the prog package.
Older
You can’t perform that action at this time.