Skip to content
Permalink
Tree: cc4f6d0a87
Commits on Aug 3, 2018
  1. sys/fuchsia: zx_log_* got replaced by zx_debuglog_*

    dokyungs authored and dvyukov committed Aug 2, 2018
Commits on Aug 2, 2018
  1. sys/akaros: remove /dev/cons

    dvyukov committed Aug 2, 2018
    Presumably it causes corrupted console output.
  2. executor: extend logging in netfilter code

    dvyukov committed Aug 2, 2018
    We see some failures there, extend logging so that it's least
    possible to understand what exactly call has failed.
  3. Makefile: don't compile all targets into target binaries

    dvyukov committed Aug 2, 2018
    Currently target binaries contain support for all OS/arch combinations.
    However, obviously a fuchsia target binary won't test windows.
    For target binaries we need support only for a single target
    (with the exception of 386/arm target in amd64/arm64 binaries).
    So compile in only _the_ target into target binaries.
    This reduces akaros/amd64 fuzzer binary from 33 to 7 MB
    and execprog from 28 to 2 MB.
  4. gometalinter: strengthen gocyclo limit

    dvyukov committed Aug 2, 2018
    Strengthen gocycle limit 35->24! Yay! No more jumbo functions!
    
    Fixes #538
  5. sys/syz-extract: refactor main

    dvyukov committed Aug 2, 2018
    main is too long and complex. Move more logic into helper functions.
    
    Update #538
  6. pkg/compiler: refactor checkType

    dvyukov committed Aug 2, 2018
    checkType is too long and complex.
    Move basic type checks and args checks into separate functions.
    
    Update #538
  7. pkg/csource: refactor generateCalls

    dvyukov committed Aug 2, 2018
    Move call generation into a separate function.
    
    Update #538
  8. pkg/csource: refactor defineList

    dvyukov committed Aug 2, 2018
    Make it simpler and shorter.
    
    Update #538
  9. syz-manager: refactor work with hub

    dvyukov committed Aug 2, 2018
    Move work with hub into a separate file and fully separate
    its state from the rest of the manager state.
    First step towards splitting manager into managable parts.
    This also required to rework stats as they are used throughout the code.
    
    Update #538
    Update #605
  10. pkg/mgrconfig: move from syz-manager/mgrconfig

    dvyukov committed Aug 1, 2018
    mgrconfig was used only by syz-manager initially,
    but now it's used by a dozen of packages and it's
    weird to import from under a binary dir.
    pkg/ is much more reasonable dir for a widely used
    helper package.
  11. syz-manager/mgrconfig: refactor more

    dvyukov committed Aug 1, 2018
    Complete is still too long and complex. Split more.
    
    Update #538
  12. syz-manager/mgrconfig: refactor Complete

    dvyukov committed Aug 1, 2018
    Split the very long function into 2.
    
    Update #538
  13. pkg/report: refactor test

    dvyukov committed Aug 1, 2018
    Split a long function.
    
    Update #538
  14. prog: strenghten type checking during validation

    dvyukov committed Aug 1, 2018
    Check that argument types match expected static types.
    I.e. detect when, say, syscall argument is a resource,
    but actual generated argument is a pointer.
  15. prog: refactor calcStaticPriorities

    dvyukov committed Aug 1, 2018
    Factor out several helper functions.
    
    Update #538
  16. prog: split and simplify Mutate

    dvyukov committed Aug 1, 2018
    Update #538
  17. prog: introduce debugValidate

    dvyukov committed Aug 1, 2018
    Move debug validation into a separate function.
    
    Update #538
  18. prog: refactor defaultArg/isDefaultArg

    dvyukov committed Aug 1, 2018
    Refactor from single-big-switch to type methods.
    
    Update #538
  19. prog: refactor SerializeForExec

    dvyukov committed Aug 1, 2018
    Factor copyin, copyout and checksums into separate functions.
    Also slightly tidy csum analysis.
    
    Update #538
  20. pkg/ipc: refactor output parsing

    dvyukov committed Aug 1, 2018
    readOutCoverage was complete mess.
    Split it into several functions.
    Use callReply struct directly.
    Make error handling more idiomatic.
    
    Update #538
  21. syz-fuzzer: slightly simplify main

    dvyukov committed Aug 1, 2018
    Move output type parsing into a separate function.
    
    Update #538
  22. syz-manager/mgrconfig: better handling of unknown os/arch

    dvyukov committed Aug 1, 2018
    Produce a readable error instead of crashing on nil deref.
  23. pkg/serializer: refactor

    dvyukov committed Aug 1, 2018
    Factor out serialization of pointers, slices and
    structs into separate functions.
    
    Update #538
  24. dashboard/app: refactor incomingCommandTx

    dvyukov committed Aug 1, 2018
    Factor out actual command handling out of incomingCommandTx.
    
    Update #538
  25. dashboard/app: refactor addTestJob

    dvyukov committed Aug 1, 2018
    Factor request checking from addTestJob into checkTestJob.
    
    Update #538
  26. dashboard/app: simplify reportCrash

    dvyukov committed Aug 1, 2018
    Factor crash saving out of reportCrash into saveCrash.
    
    Update #538
  27. pkg/compiler: refactor checkNames

    dvyukov committed Aug 1, 2018
    Too complex. Split into 2 functions.
    
    Update #538
  28. pkg/compiler: refactor structGen

    dvyukov committed Aug 1, 2018
    Still too complex. Split more.
    
    Update #538
  29. vm: refactor MonitorExecution

    dvyukov committed Aug 1, 2018
    Too complex. Split into several functions.
    
    Update #538
  30. gometalinter: clean up some errcheck warnings

    dvyukov committed Aug 1, 2018
    Check some errors where relevant.
    Unfortunately enabling errcheck does not look feasible, too many warnings.
    
    Update #538
Commits on Aug 1, 2018
  1. manager: Fix default value for 'sandbox' (#666)

    zachriggle authored and dvyukov committed Aug 1, 2018
    docs: fix default sandbox value
    
    The docs and code comments state in several places that 'setuid'
    is the default sandbox value.  However, the default is actually
    'none'.  Fix docs.
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
Older
You can’t perform that action at this time.