Skip to content
Permalink
Tree: 6c18ddb0e6
Commits on May 6, 2018
  1. 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.
  7. prog: remove ReturnArg

    dvyukov committed May 5, 2018
    It's not all that needed.
Commits on May 4, 2018
  1. Makefile: parallelize

    dvyukov committed May 4, 2018
    Use -j by default and parallelize targets as much as possible.
  2. prog: parallelize tests

    dvyukov committed May 4, 2018
    Parallelize more tests and reduce number of iterations
    in random tests under race detector.
  3. gometalinter: enable cyclomatic complexity checking

    dvyukov committed May 4, 2018
    Refactor some functions to be simpler.
    
    Update #538
  4. gometalinter: enable line length checking

    dvyukov committed May 4, 2018
    120 columns looks like a reasonable limit
    and requires few changes to existing code.
    
    Update #538
Commits on May 3, 2018
  1. gometalinter: enable misspell

    dvyukov committed May 3, 2018
    Update #538
  2. gometalinter: some fixes for unparam

    dvyukov committed May 3, 2018
    But we still can't enable it as there are more [uninteresting] warnings.
    
    Update #538
  3. gometalinter: check dot imports

    dvyukov committed May 3, 2018
    Update #538
  4. dashboard/app: cleanup and tidy email reports

    dvyukov committed May 3, 2018
    Align all info into nice table.
    Shorten links a bit.
    Remove some non-strictly-necessary info.
    Rework some texts.
    
    Fixes #565
  5. prog: Fix page fault for syz-stress users.

    flowerhack authored and dvyukov committed May 1, 2018
    In resources.go, haveGettime is False when SyscallMap["clock_gettime"]
    is nil.
    
    In this code, there's a branch that's entered only if Gettime is False,
    which appends SyscallMap["clock_gettime"] to resourceCtors.  That is, it
    appends nil to resourceCtors, then iterates through resourceCtors and
    tries to dereference the .Name of each time, in this case, nil.Name.
    
    This was causing a page fault on Fuchsia.
    
    I'm not certain how the "standard" flow is supposed to work, since it
    seems like any code that enters the `if cantCreate == "" && !haveGettime`
    should fail... but, removing that section causes test failures, so let's
    just enforce that SyscallMap["clock_gettime"] is non-nil.
    
    If there's a better way to solve this, I'm open to suggestions.
Commits on Apr 30, 2018
  1. executor: fix read_cover_size signature

    dvyukov committed Apr 30, 2018
  2. Makefile: fix build in an i386 debian chroot

    tytso authored and dvyukov committed Apr 29, 2018
    Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Commits on Apr 29, 2018
  1. sys/linux: add few more filesystems with images

    dvyukov committed Apr 29, 2018
  2. pkg/host: fix syz_mount_image detection

    dvyukov committed Apr 29, 2018
    Only init admin can mount filesystems with images.
  3. sys/linux: describe block device ioctls

    dvyukov committed Apr 29, 2018
    Describe block device ioctls.
    Describe sg device ioctls.
    Add few more devices.
  4. pkg/ast: support char constants

    dvyukov committed Apr 29, 2018
    Frequently it's useful to do something like:
    
    int8['a':'z']
    punctuation = ',', '-', ':'
  5. pkg/report: reformat code

    dvyukov committed Apr 29, 2018
    There is some regression in Go formatting on tip.
    I am constantly getting diffs after formatting.
    Filed: golang/go#25161
Commits on Apr 27, 2018
  1. sys/linux: a bunch of assorted improvements

    dvyukov committed Apr 27, 2018
  2. sys/linux: extend namespace desciptions

    dvyukov committed Apr 27, 2018
    Slightly extend namespace descriptions and move
    them to a separate file.
  3. Update kernel_configs.md

    dvyukov committed Apr 27, 2018
  4. Update setup_linux-host_qemu-vm_arm-kernel.md

    dvyukov committed Apr 27, 2018
  5. pkg/report: fix remaining lockdep report formats

    dvyukov committed Apr 27, 2018
    We fixed only 1, but new format affects all lockdep reports.
    Fix all of them.
  6. syz-manager: log suppressed crashes always

    dvyukov committed Apr 27, 2018
    If there are few of them, it does not matter if they are printed or not.
    However if there are lots of them, they need to be seen in log.
Older
You can’t perform that action at this time.