Skip to content
Permalink
Tree: e726f42b64
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
Commits on May 9, 2018
  1. docs: add link for PH-1 kernel

    jb-essential authored and dvyukov committed May 8, 2018
    Signed-off-by: Jean-Baptiste Theou <jb@essential.com>
Commits on May 8, 2018
  1. sys/linux: add AF_NETLINK/NETLINK_ROUTE SCHED support

    liuhangbin authored and dvyukov committed May 3, 2018
    Update #533
    
    As TC(net sched) is a large group, I separate it from socket_netlink_route.txt.
    Currently I only implement the framework with two qdisc/tclass/filters.
    I will add the others later.
    
    v2: Fix tcm_handle major and minor order. Add tcm_handle_offsets.
    
    Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Commits on May 7, 2018
  1. pkg/csource: fix test exit code

    dvyukov committed May 7, 2018
  2. pkg/csource: skip tests under race detector

    dvyukov committed May 7, 2018
    csource tests consume too much memory under race detector (>1GB),
    and periodically timeout on Travis. So we skip them.
  3. all: get rid of underscores in identifiers

    dvyukov committed May 7, 2018
    Underscores are against Go coding style.
    
    Update #538
  4. dashboard/app: split overly long function

    dvyukov committed May 7, 2018
    Update #538
  5. pkg/ifuzz: move generated code to a separate package

    dvyukov committed May 7, 2018
    This helps to ignore generated code with gometalinter.
    There is currently no other way:
    alecthomas/gometalinter#270
    
    Update #538
  6. prog: deduplicate minimization test

    dvyukov committed May 7, 2018
    Update #538
  7. prog: dedup checksumming code

    dvyukov committed May 7, 2018
    Update #538
  8. prog: reorder checksum functions

    dvyukov committed May 7, 2018
    Put the most important function at the top.
  9. prog: dedup mutation code

    dvyukov committed May 7, 2018
    Update #538
  10. pkg/git: remove duplicated code in tests

    dvyukov committed May 7, 2018
    Update #538
  11. pkg/report: remove duplicated stub code

    dvyukov committed May 7, 2018
    Update #538
  12. gometalinter: reduce checker timeout

    dvyukov committed May 7, 2018
    Travis has timeout of 10 minutes, so reduce
    our timeout to 8 minutes.
Commits on May 6, 2018
  1. pkg/db: remove code duplication in test

    dvyukov committed May 6, 2018
    Update #538
  2. sys: dedup mmap code across OSes

    dvyukov committed May 6, 2018
    Update #538
  3. vm/{adb,isolated}: dudup common code

    dvyukov committed May 6, 2018
    Found with gometalinter/dupl.
    
    Update #538
  4. fixed link to generated file in the docs

    alex authored and dvyukov committed May 5, 2018
Commits on May 5, 2018
  1. all: fix too long lines

    dvyukov committed May 5, 2018
    Not sure why I have not seen warnings about
    these lines on another machine...
  2. sys: move generate files to separate packages

    dvyukov committed May 5, 2018
    Move generated files to gen subdir. This allows to:
    1. Rebuild init.go without rebuilding generated code.
    2. Excluding generated files from gometalinter checking.
    This makes faster and consume less memory.
    
    Update #538
  3. Makefile: fix deps

    dvyukov committed May 5, 2018
    syz-sysgen depends on prog which depends on pkg/ifuzz.
    Currently we concurrently regenerate pkg/ifuzz and build
    syz-sysgen, which can cause failures.
    Make pkg/ifuzz dependent on syz-sysgen, so that it is
    built before we regenerate ifuzz.
  4. prog: rework validation code

    dvyukov committed May 5, 2018
    The current code is total, unstructured mess.
    Since we now have 1:1 type -> arg correspondence,
    rework validation around args. This makes code
    much cleaner and 30% shorter.
  5. prog: make c.Ret optional

    dvyukov committed May 5, 2018
    No reason to allocate return value if there is no return type.
    c.Ret == nil is the reasonable indication that this is a "void" call.
  6. prog: simplify code

    dvyukov committed May 5, 2018
    Now that we don't have ReturnArg and only ResultArg's refer
    to other ResultArg's we can remove ArgUser/ArgUsed and
    devirtualize lots of code.
Older
You can’t perform that action at this time.