Skip to content
Permalink
Tree: a367c1d7a8
Commits on May 16, 2018
  1. tools/create-gce-image.sh: support MKE2FS_CONFIG

    dvyukov committed May 16, 2018
  2. docs: describe syzbot moderation queue

    dvyukov committed May 16, 2018
  3. vm/adb: disable kptr_restrict for Android

    billy-lau authored and dvyukov committed May 15, 2018
    echo 0 to kptr_restrict in /proc/sys/kernel to unhide
    kernel pointers when fuzzing for more reliable crash
    dedup and easier debugging when analyzing crash.
Commits on May 15, 2018
  1. dashboard/app: reformat code

    dvyukov committed May 15, 2018
  2. Updated file and fixed typo.

    Murat authored and dvyukov committed May 15, 2018
    Fixed typo for JSON config file. It has a comma after "false". If this comma exist, it always gives issue about object thing.
  3. dashboard/app: remove most details from email footer

    dvyukov committed May 13, 2018
    Exact details of syzbot communication change over time,
    so it's a bad idea to hardcode them in each email.
    Full details are also quite lengthy, so we can't express
    all of them in each email header. And providing partial
    info may be worse than just providing a link to full info.
    
    So remove most details from email footer,
    and just give links to documentation.
    
    Also clarify docs re when "syz fix" should/can be used.
  4. executor: revert protection of kcov region

    dvyukov committed May 15, 2018
    Turns out it's protection of kcov region that causes coverage drop.
    Revert it and re-enable coverage filtering.
Commits on May 14, 2018
  1. executor: revert coverage filtering

    dvyukov committed May 14, 2018
    This causes very significant drop in corpus size. Needs additional debugging.
    Revert for now.
  2. tools/create-gce-image.sh: revert loop to nbd

    dvyukov committed May 14, 2018
    loop devices are nice, but unfortunately this creates images
    that does not boot on GCE. Reason is unclear.
    Revert back to nbd for now.
  3. executor: protect most of kcov region

    dvyukov committed May 14, 2018
    We only write to the first page of kcov region.
    Protect the rest from the fuzzer.
  4. executor: terminate on corrupted coverage

    dvyukov committed May 14, 2018
    New measures still does not help against fuzzer producing
    fake corrupted coverage.
    Try to terminate instantly as we detect bad coverage.
  5. pkg/instance: relax syzkaller path check

    dvyukov committed May 14, 2018
    Only check that syzkaller path is in GOPATH if we are going to build it.
    syz-ci image testing does not have syzkaller path in GOPATH,
    but it also does not build syzkaller.
  6. syz-ci: fix manager config creation

    dvyukov committed May 14, 2018
    SyzFuzzerBin/SyzExecprogBin/SyzExecutorBin are ended up being empty.
    Fix this.
  7. pkg/instance: add package for testing of images/patches/bisection

    dvyukov committed May 14, 2018
    Move helper image/patch testing code from syz-ci/testing.go
    to a separate package so that it can be reused during bisection.
    
    Update #501
  8. executor: filter out invalid PCs on linux/x86_64

    dvyukov committed May 14, 2018
    Fuzzer manages to corrupt output region and write random coverage again and again.
    Do a sanity range check on coverage PCs to filter out invalid ones.
  9. executor: randomize output region addr

    dvyukov committed May 14, 2018
    Fuzzer manages to corrupt output region and write random coverage again and again.
    Randomize output region addr to make it harder.
  10. pkg/osutil: introduce TempFile helper

    dvyukov committed May 14, 2018
    Introduce TempFile helper and use it in several packages.
  11. pkg/git: add bisection functionality

    dvyukov committed May 14, 2018
    Bisect bisects good..bad commit range against the provided predicate (wrapper around git bisect).
    The predicate should return an error only if there is no way to proceed
    (it will abort the process), if possible it should prefer to return BisectSkip.
    Progress of the process is streamed to the provided trace.
    Returns the first commit on which the predicate returns BisectBad.
    
    Update #501
  12. pkg/git: add PreviousReleaseTags

    dvyukov committed May 14, 2018
    PreviousReleaseTags returns list of preceding release tags
    that are reachable from the given commit.
    
    Update #501
  13. pkg/git: add SwitchCommit and GetCommit

    dvyukov committed May 14, 2018
    Will be useful for bisection logic.
    
    Update #501
  14. pkg/kernel: use oldconfig instead of olddefconfig

    dvyukov committed May 14, 2018
    See the added comment for motivation.
    
    Update #501
  15. pkg/kernel: accept kernel config as byte slice

    dvyukov committed May 14, 2018
    We usually have the config in memory,
    so saving it to disk is an unnecessary step.
    Accept byte slice directly.
    
    Update #501
  16. syz-manager: add concept of partial configs

    dvyukov committed May 14, 2018
    syz-ci uses partial (incomplete) manager config in several places.
    Currently it is implemented in some ugly way.
    Provide better support and unexport DefaultValues and SplitTarget.
    
    Update #501
  17. tools/create-gce-image.sh: use loop instead of nbd

    dvyukov committed May 14, 2018
    loop is much more standard than nbd and does not require additional modules.
    nbd broke on Debian rolling.
    loop also allows parallel execution thanks to losetup -f.
    
    Use loop instead of nbd.
    Also improve cleanup logic and add one missing sudo.
    
    Update #501
Commits on May 13, 2018
  1. executor: fix strncpy compile error

    IoanaCiornei authored and dvyukov committed May 13, 2018
    gcc8 is stricter when dealing with strings and strncpy and demands that
    the size of the actual string to be copied to be explicitly smaller than
    the size of the destination, just to make sure the NULL terminator is
    taken into considerantion. This patch fixes the issue.
    
    Signed-off-by: Ioana Ciornei <ciorneiioana@gmail.com>
  2. Makefile: don't run gometalinter in parallel

    dvyukov committed May 13, 2018
    apt-get update seems to heal missing packages.
    But gometalinter failed due to OOM:
    https://travis-ci.org/google/syzkaller/jobs/378313344
    Don't run it in parallel with other tests.
  3. Makefile: print uname in install_prerequisites

    dvyukov committed May 13, 2018
    Travis is still broken with:
    
    E: Unable to locate package gcc-aarch64-linux-gnu
    E: Unable to locate package gcc-arm-linux-gnueabihf
    E: Unable to locate package gcc-powerpc64le-linux-gnu
    
    https://travis-ci.org/google/syzkaller/jobs/378034948
    
    Let's at least see what's OS is there and what gcc packages present.
Commits on May 12, 2018
  1. Makefile: don't fail on unknown packages

    dvyukov committed May 12, 2018
    Travis CI started failing with:
    
    E: Unable to locate package gcc-aarch64-linux-gnu
    E: Unable to locate package gcc-arm-linux-gnueabihf
    E: Unable to locate package gcc-powerpc64le-linux-gnu
    make: *** [install_prerequisites] Error 100
    
    https://travis-ci.org/google/syzkaller/jobs/377740347
    
    Let's try to ignore these packages.
Commits on May 11, 2018
  1. sys/syz-extract: improve compier error messages

    dvyukov committed May 11, 2018
    Print each constant on separate line.
    When compiler prints error messages it prints whole line
    containing an error. So currently it prints all constants (thousands).
    With this change it prints just the problematic constant.
  2. sys/linux: regenerate video4linux consts on the right tree

    dvyukov committed May 11, 2018
  3. sys/linux: add missing consts for video4linux.txt

    dvyukov committed May 11, 2018
    For now other arches are regenerated on upstream tree.
    It does not contain a bunch of consts, so we define them to 1 for now.
    arm64 consts are left intact.
    video4linux.txt is added to "android" files in syz-extract,
    so that future make extract runs don't overwrite arm64 consts.
    
    Also fix VIDIOC_G_FBUF argument direction, currently tests crash with:
    
    panic: call ioctl$VIDIOC_G_FBUF: pointer arg 'buffer' has output direction [recovered]
    	panic: call ioctl$VIDIOC_G_FBUF: pointer arg 'buffer' has output direction
  4. sys/linux: add Video4Linux IOCTL Descriptors

    srikanth007m authored and dvyukov committed May 11, 2018
    * Adding Video4Linux IOCTL Descriptors
    
    This will cover the ioctl() function used to program V4L2 devices
    
    * Const file for video4linux_arm64.const
Older
You can’t perform that action at this time.