Skip to content
Permalink
Tree: 1477993e1b
Commits on Jul 31, 2018
  1. pkg/compiler: work around vet crash

    dvyukov committed Jul 31, 2018
    vetshadow not works, so enable it.
    
    Update golang/go#26725
    Update #538
  2. gometalinter: clean up vetshadow

    dvyukov committed Jul 31, 2018
    This just cleans up existing warnings.
    vetshadow is not enabled yet because it crashes.
    
    Update #538
  3. syz-manager: refactor vmLoop

    dvyukov committed Jul 31, 2018
    Slightly reduce cyclomatic complexity.
    
    Update #538
  4. prog: refactor program serialization

    dvyukov committed Jul 31, 2018
    Make argument serialization Arg method.
    This eliminates a very long function
    that serializes all arguments.
    
    Update #538
  5. dashboard/app: refactor config checking

    dvyukov committed Jul 31, 2018
    Split a very long function into several smaller functions.
    
    Update #538
  6. pkg/csource: rafactor option checking

    dvyukov committed Jul 31, 2018
    Update #538
  7. pkg/report: refactor linux report parsing

    dvyukov committed Jul 31, 2018
    Split a very long function into 2.
    
    Update #538
  8. prog: refactor SerializeForExec

    dvyukov committed Jul 31, 2018
    Reduce cyclomatic complexity.
    
    Update #538
  9. pkg/csource: refactor call generation

    dvyukov committed Jul 31, 2018
    Slightly reduce cyclomatic complexity.
    
    Update #538
  10. pkg/compiler: refactor genStructDescs

    dvyukov committed Jul 31, 2018
    Reduce cyclomatic complexity of genStructDescs.
    
    Update #538
  11. prog: refactor Minimize

    dvyukov committed Jul 31, 2018
    Reduce cyclomatic complexity of argument minimization
    by moving type-specific logic into separate functions.
    Fix few bugs along the way.
    
    Update #538
  12. tools/syz-execprog: refactor

    dvyukov committed Jul 31, 2018
    Reduce cyclomatic complexity of the main function.
    It's too huge.
    
    Update #538
  13. .gometalinter: reduce dupl threshold

    dvyukov committed Jul 31, 2018
    Reduce dupl threshold from 63 to 60 and fix violations.
    
    Update #538
  14. .gometalinter.json: enable gofmt

    dvyukov committed Jul 31, 2018
    The part that we want from gofmt is simplify (-s).
    Fix all code that needs fixing.
    
    Update #538
Commits on Jul 30, 2018
  1. executor: make current_time_ms/sleep_ms

    dvyukov committed Jul 30, 2018
    Fix conditions for when current_time_ms/sleep_ms are used
    and make them static.
Commits on Jul 29, 2018
  1. executor: collect coverage from unfinished syscalls

    dvyukov committed Jul 29, 2018
    Write coverage from unfinished syscalls.
    Also detect when a syscall was blocked during execution,
    even if it finished. Helpful for fallback coverage.
    
    Fixes #580
  2. vm/gce: fix build

    dvyukov committed Jul 29, 2018
    fail
  3. vm: fix "kill fuzzer on first kernel bug"

    dvyukov committed Jul 29, 2018
    The problem with that commit is that for GCE implementation
    we immidiately kill console connection too when receive diagnose signal.
    This leads to truncated output.
Commits on Jul 27, 2018
  1. syz-fuzzer: generate programs more frequently if no coverage

    dvyukov committed Jul 27, 2018
    Generating every other time should be good,
    because fallback signal is really weak.
  2. dashboard/app: fix crash selection for reporting

    dvyukov committed Jul 27, 2018
    See the issue for the problem description.
    Include repro level into reporting priority,
    so that we can order by just it during selection
    and ignore ReproC/ReproSyz.
    
    Fixes #634
  3. pkg/csource: turn off 32-bit tests

    dvyukov committed Jul 27, 2018
    Test OS fails the same was as linux on travis.
  4. executor: disable clang-format for some parts

    dvyukov committed Jul 27, 2018
    clang-format badly mishandles this part,
    moreover different versions mishandle it differently.
  5. pkg/csource: rewrite gen.sh in Go

    dvyukov committed Jul 27, 2018
    Shell files cause portability problems.
    On Linux it's hard to install /bin/sh,
    /bin/bash is not present on *BSD.
    Any solution is hard to test on Darwin.
    Don't even want to mention Windows.
    
    Just do it in Go.
  6. pkg/csource: add option to trace syscall results

    dvyukov committed Jul 26, 2018
    This will be needed for testing of generated programs.
  7. pkg/csource: tidy generated code

    dvyukov committed Jul 26, 2018
    1. Remove unnecessary includes.
    2. Remove thunk function in threaded mode.
    3. Inline syscalls into main for the simplest case.
    4. Define main in common.h rather than form with printfs.
    5. Fix generation for repeat mode
       (we had 2 infinite loops: in main and in loop).
    6. Remove unused functions (setup/reset_loop, setup/reset_test,
       sandbox_namespace, etc).
  8. executor: simplify event_timedwait

    dvyukov committed Jul 26, 2018
    We always have current_time_ms in event_timedwait
    so use it instead of manual clock_gettime calls
    which tend to be bulkier.
  9. pkg/host: support test OS

    dvyukov committed Jul 25, 2018
    test OS parasitizeson other OSes just as akaros,
    and there is nothing to detect as well.
    So use the same stub for test as for akaros.
  10. executor: ignore unshare errors in setuid sandbox

    dvyukov committed Jul 25, 2018
    We already do this in sandbox=none, but forgot about setuid.
  11. prog: parse comments in serialized programs

    dvyukov committed Jul 25, 2018
    Remember per-call comments, will be useful for annotating tests.
    Also support this form:
    call() # comment
Commits on Jul 26, 2018
  1. adb: Add console logic for ttyUSB.serial

    zachriggle authored and dvyukov committed Jul 19, 2018
    By using UDEV rules, we can create device nodes which exist at
    
    	/dev/ttyUSB.{android device serial}
    
    Which makes it easier to determine which console belongs to a device.
    
    While this is non-standard behavior, it's an inexpensive path check
    and makes the lookup faster and deterministic.
Commits on Jul 25, 2018
  1. pkg/csource: say what compiler is missing

    dvyukov committed Jul 25, 2018
  2. prog: move MaxPids const to prog

    dvyukov committed Jul 25, 2018
    The const may be needed by other packages.
    E.g. when checking manager config.
Older
You can’t perform that action at this time.