Skip to content
Tree: 17061fc0f9
Commits on Feb 14, 2018
  1. 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.
Commits on Feb 12, 2018
  1. pkg/report: improve corrupted report detection

    dvyukov committed Feb 12, 2018
    Detect informational kernel reports that are not bugs in itself,
    but contain stack traces. If we see them in the middle of another
    report, we know stacks are intermixed and the report is potentially
Commits on Feb 10, 2018
  1. pkg/report: harden more against corrupted reports

    dvyukov committed Feb 10, 2018
  2. sys/linux: fix field names in netfilter

    dvyukov committed Feb 10, 2018
  3. executor: compile with -O2

    dvyukov committed Feb 10, 2018
    We don't frequently debug it and it does some intensive computations
    on coverage, so no reason to not compile with -O2.
Commits on Feb 9, 2018
  1. pkg/csource: fix debug calls

    dvyukov committed Feb 9, 2018
    debug calls are only properly stripped if they are on a single line.
  2. sys/linux: improve netfilter descriptions

    dvyukov committed Jan 29, 2018
    Put the underflow entry at the end.
    Entries must end on an unconditional, non-goto entry,
    otherwise fallthrough from the last entry is invalid.
    Add arp tables support.
    Split unspec matches/targets to unspec and inet.
    Reset ipv6 and arp tables in executor.
    Fix number of counters in tables.
    Plus a bunch of assorted fixes for matches/targets.
Commits on Feb 7, 2018
  1. dashboard/app: fix job creation

    dvyukov committed Feb 7, 2018
    1. Create/update job in a transaction.
    Fixes #518
    2. Add requesting user to CC even if job creation fails.
    Fixes #511
  2. pkg/report: special-case extraction of guilty file for rcu stalls

    dvyukov committed Feb 7, 2018
  3. pkg/report: improve guilty frame extraction

    dvyukov committed Feb 7, 2018
    1. Make extractStackFrame more picky about stray frames.
    This fixes some TODO's in tests where we matched completley
    unrelated frames printed by another task.
    2. Extract KASAN guilty frame from report header
    if the frame should not be skipped (e.g. not __lock_acquire).
    This makes parsing more tolerant to corrupted reports.
  4. pkg/report: detect when several reports are intermixed

    dvyukov committed Feb 7, 2018
    If there are more than one report, detect where the second
    report starts and extract description only from the first report.
    There are too many cases where several reports gets intermixed
    and as the result we extract bogus description.
Commits on Feb 6, 2018
  1. pkg/report: fix KASAN report parsing

    dvyukov committed Feb 6, 2018
    We did not skip kasan_check_read.
    Also don't let stack parsing to silently sink to another stack trace.
  2. pkg/report: improve report titles

    dvyukov committed Feb 4, 2018
    1. Replace stacktraceRe with custom code which is more flexible.
    stacktraceRe stumbled on any unrelated lines and
    could not properly parse truncated stacks.
    2. Match report regexp earlier.
    If we match simler title regexp, but don't match
    report regexp or fail to parse stack trace, the report is corrupted.
    This eliminates lots of duplicate corrupted oops entries,
    which were there only because we had complex regexp's in titles.
    3. Ignore low-level frames during stack parsing.
    E.g. we never want to report a GPF in lock_acquire or memcpy
    (somewhat similar to what we do for guilty files).
    4. Add a bunch of specialized formats for WARNINGs.
    There is number of generic debugging facilities (like ODEBUG,
    debug usercopy, kobject, refcount_t, etc), and the bug
    is never in these facilities, it's in the caller instead.
    5. Improve some other oops formats.
    6. Add a bunch of additional tests.
    This resolves most of TODOs in tests.
    Fixes #515
Commits on Feb 4, 2018
  1. syz/syz-extract: Update Fuchsia extractor with current Fuchsia paths.

    flowerhack authored and dvyukov committed Feb 2, 2018
    A change in Zircon a while back moved around where sysroots are located
    in Fuchsia; this update will allow for proper extraction.
Commits on Feb 2, 2018
  1. Update

    dvyukov committed Feb 2, 2018
Commits on Feb 1, 2018
  1. sys/linux: describe some new 4.16 features

    dvyukov committed Feb 1, 2018
  2. sys/syz-extract: save unsupported consts to the const files

    dvyukov committed Feb 1, 2018
    We currently print unsupported consts to console during make extract.
    But this is not very useful as there are too many output now.
    This also does not allow to understand what's unsupported
    in newly checked-in descriptions, or what's unsupported in all current
    Save unsupported consts to the const files instead.
    This solves all of the above problems.
  3. syz-manager: log number of VMs that are currently fuzzing

    dvyukov committed Feb 1, 2018
  4. dashboard/app: show jobs/managers/logs only for admin

    dvyukov committed Feb 1, 2018
    That's not very interesting for anybody other than admins.
  5. dashboard/app: tidy up UIs

    dvyukov committed Feb 1, 2018
    Show short kernel repo/branch aliases,
    also slightly reshuffle and tidy up tables.
  6. dashboard/app: fix patched/missing on numbers

    dvyukov committed Feb 1, 2018
    We currently print N/M which does not mean N out of M are patched,
    instead it means N patched and M are not patched.
    This is confusing. Print more traditional "N out of M".
  7. prog: fix mutation of special types

    dvyukov committed Feb 1, 2018
    Caught by existing tests, just happens very infrequently.
  8. prog: don't serialize default arguments

    dvyukov committed Jan 31, 2018
    This reduces size of a corpus in half.
    We store corpus on manager and on hub,
    so this will reduce their memory consumption.
    But also makes large programs more readable.
Commits on Jan 31, 2018
  1. dashboard/app: properly handle job request dups

    dvyukov committed Jan 31, 2018
    Dups always have the same Message-ID,
    and that's more reliable than looking at From/Sender.
    So use Message-ID for deduplication.
  2. prog: fix TestSpecialStructs

    dvyukov committed Jan 29, 2018
    We should not try to generate/mutate output arguments.
    SpecialTypes generators are meant to accept inout arguments.
Commits on Jan 30, 2018
  1. Update

    dvyukov committed Jan 30, 2018
  2. Update

    dvyukov committed Jan 30, 2018
Commits on Jan 28, 2018
  1. executor: fix 32-bit support

    dvyukov committed Jan 28, 2018
    ipt_get_entries.entrytable must be pointer aligned,
    so in 32-bit build there is no padding before it.
Commits on Jan 27, 2018
  1. sys/linux: extend netfilter descriptions

    dvyukov committed Jan 24, 2018
  2. pkg/compiler: allow unions with only 1 field

    dvyukov committed Jan 26, 2018
    Unions with only 1 field are not actually unions,
    and can always be replaced with the option type.
    However, they are still useful when there will be
    more options in future but currently only 1 is described.
    Alternatives are:
     - not using union (but then all existing programs will be
       broken when union is finally introduced)
     - adding a fake field (ugly and reduces fuzzer efficiency)
    Allow unions with only 1 field.
Commits on Jan 25, 2018
  1. pkg/report: fix guilty file regexps

    dvyukov committed Jan 25, 2018
You can’t perform that action at this time.