Skip to content
Permalink
Tree: 645ce5da79
Commits on Feb 6, 2018
  1. 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 syzbot.md

    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
    decriptions.
    
    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 found_bugs.md

    dvyukov committed Jan 30, 2018
  2. Update found_bugs.md

    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
  2. Update found_bugs.md

    dvyukov committed Jan 25, 2018
Commits on Jan 24, 2018
  1. pkg/email: handle emails without Content-Type header

    dvyukov committed Jan 24, 2018
    git-send-email sends emails without Content-Type,
    let's assume it's text.
  2. sys/linux: fix devname_mask alignment

    dvyukov committed Jan 24, 2018
    Since we use int64, it has 8-byte alignment.
    It's wrong, it must have 1-byte alignment.
    Use int8 instead.
  3. pkg/compiler, prog: fix template parent lens

    dvyukov committed Jan 24, 2018
    It's possible that a struct can have 2+ parents,
    which is the same template (differs only by arguments).
    See the new test case.
    Support such case.
Commits on Jan 23, 2018
  1. executor: handle old and new selinux mount points

    dvyukov committed Jan 23, 2018
  2. pkg/compiler: fix len of parent template struct

    dvyukov committed Jan 23, 2018
    Consider the following example:
    
    type len_templ1[DATA1, DATA2] {
    	data	DATA1
    	inner	len_temp2[DATA2]
    }
    
    type len_temp2[DATA] {
    	data	DATA
    	len	len[len_templ1, int8]
    }
    
    Here len refers to a parent struct, but the struct is a template,
    so it's actual name is something like "len_templ1[int8, int16]".
    Currently this does not work as compiler barks at incorrect
    len target.
    
    Make this work.
  3. pkg/compiler: allow use of empty strings

    dvyukov committed Jan 23, 2018
    This comes up in several contexts in netfilter.
  4. pkg/compiler: allow strings as template arguments

    dvyukov committed Jan 23, 2018
    Needed for netfilter descriptions.
Commits on Jan 22, 2018
  1. syz-hub: don't send all repros to new managers

    dvyukov committed Jan 22, 2018
    We how have thousands of repros, running all of them
    on new managers will take ethernity.
  2. sys/linux: add netfilter descriptions

    dvyukov committed Jan 20, 2018
    Lots of TODOs and only ipv4, but some start.
  3. executor: reshuffle namespace sandboxing sequence again

    dvyukov committed Jan 22, 2018
    Now we create tun in the _outer_ net namespace,
    which is tied to init user namespace. Thus fuzzer
    does not have CAP_ADMIN in it.
    In the end it seems that there is no sandboxing sequence,
    which would give us everything we need.
    Reshuffle sequences so that we have corrent namespace
    hierarchy, but don't have IFF_NAPI_FRAGS.
Older
You can’t perform that action at this time.