Skip to content
Tree: 04cbdbd1ae
Commits on Feb 20, 2018
  1. syz-fuzzer: prioritize signal from successful syscalls

    dvyukov committed Feb 20, 2018
    Signal on successful syscalls is more valuable than
    signal on unsuccessful syscalls.y
  2. Update issue_template.txt

    dvyukov committed Feb 20, 2018
  3. sys/linux: fix mmap call args

    dvyukov committed Feb 20, 2018
    Also add a test for this.
Commits on Feb 19, 2018
  1. prog: mutate len fields based on hints

    dvyukov committed Feb 19, 2018
    With the new address allocation logic,
    the reason to not touch len has gone.
  2. vm: keep more context before new output

    dvyukov committed Feb 19, 2018
    In pkg/report we add up to 5 lines of kernel output before the report.
    However, MonitorExecution leaves only up to 128 bytes of preceeding output,
    so frequently preceeding lines are not included in the report.
    Increase the context to 512 bytes.
  3. prog: rework address allocation

    dvyukov committed Feb 19, 2018
    1. mmap all memory always, without explicit mmap calls in the program.
    This makes lots of things much easier and removes lots of code.
    Makes mmap not a special syscall and allows to fuzz without mmap enabled.
    2. Change address assignment algorithm.
    Current algorithm allocates unmapped addresses too frequently
    and allows collisions between arguments of a single syscall.
    The new algorithm analyzes actual allocations in the program
    and places new arguments at unused locations.
  4. prog: fix PhysicalAddr for NULL addresses

    dvyukov committed Feb 18, 2018
    Turns out we never produced NULL pointers because
    what's meant to be NULL pointer was actually encoded
    as pointer to beginning of the data region.
  5. prog: fix mutationArgs for special types

    dvyukov committed Feb 18, 2018
    There are 2 bugs currently:
    1. mutationArgs recurses into special types,
    even though they must be mutated as the whole only.
    2. When mutationArgs is called from Gen.MutateArg,
    it included the top special type as well,
    it must not because at this point only the subargs
    must be mutated.
    Fix both problems.
  6. prog: rework foreachArg

    dvyukov committed Feb 18, 2018
    Make Foreach* callback accept the arg and a context struct
    that can contain lots of aux info.
    This (1) removes lots of unuser base/parent args,
    (2) provides foundation for stopping recursion,
    (3) allows to merge foreachSubargOffset.
  7. syz-fuzzer: don't break syscalls during minimization

    dvyukov committed Feb 18, 2018
    If the original call was successful, keep it successful during minimization.
    Successful calls are much more valuable.
  8. syz-fuzzer: refactor proc.execute arguments

    dvyukov committed Feb 18, 2018
    5 bool's in a row is too much.
    2 are unnecessary because they control execOpts,
    and we already pass execOpts in.
    Combine the remaining 3 into ProgFlags field.
  9. prog: reorder Minimize arguments

    dvyukov committed Feb 18, 2018
    Make the predicate the last argument.
    It's more common and convenient (arguments are not separated by multiple lines).
Commits on Feb 17, 2018
  1. executor: fix build

    dvyukov committed Feb 17, 2018
    Older versions of linux require an additional header.
  2. sys/linux: add bridge netfilter support

    dvyukov committed Feb 10, 2018
  3. pkg/compiler: support template template arguments

    dvyukov committed Feb 17, 2018
    Can be useful for netfilter descriptions.
  4. prog: fix test output

    dvyukov committed Feb 17, 2018
    Print programs as strings, rather than byte sequences.
  5. pkg/compiler: allow len of var-len arrays

    dvyukov committed Feb 17, 2018
    All netfilter subsystems use this unfortunately,
    so demote this to a warning.
  6. sys/linux: fixes for network descriptions

    dvyukov committed Feb 17, 2018
    1. Fix connlimit netfilter match version.
    2. Fix xt_time_info layout.
    3. Introduce mac_addr_mask type.
    4. Limit vlan id's for better matches between them.
  7. dashboard/app: show info about dups

    dvyukov committed Feb 15, 2018
    Dups are currently completely invisible in the bug tables.
    Account for them in NumCrashes, LastTime and ReproLevel.
  8. dashboard/app: allow sorting bug tables

    dvyukov committed Feb 15, 2018
    Fixes #523
Commits on Feb 15, 2018
  1. Makefile: Enable CGO and set ZIRCON_BUILD_DIR for Fuchsia targets.

    flowerhack authored and dvyukov committed Feb 15, 2018
    While CGO should be disabled by default, it is necessary when building
    Additionally, the Fuchsia Go toolchain expects ZIRCON_BUILD_DIR to be
    set (
    ), so we set it here.
Commits on Feb 14, 2018
  1. pkg/report: skip mm/util.c in guilty files

    dvyukov committed Feb 14, 2018
  2. dashboard/app: finer-grained access control

    dvyukov committed Feb 13, 2018
    This is the bulk of work for opening dashboard.
    Implement finer-grained access control (admin/user/public).
    Show only info designated to the current user access level.
    Rework UIs for more clarity re bug statuses.
    Show fixed bug.
You can’t perform that action at this time.