• Lucas Bremgartner's avatar
    x/net/bpf: cleanup TestAsmDisasm · da2b4fa2
    Lucas Bremgartner authored
    The "fake" jump conditions as well as the LoadExtension instructions
    are now disassembled correctly. Therefore the workaround to reassemble
    the disassembly is no longer necessary.
    
    This simplification was annonced already in golang/go#18470.
    
    Result of `go test -cover .` stays the same with this simplification.
    
    $ go test -cover golang.org/x/net/bpf
    ok  	golang.org/x/net/bpf	0.495s	coverage: 92.3% of statements
    
    Change-Id: I3f9eb46148287c76059437b773b80c4c99eb5b53
    Reviewed-on: https://go-review.googlesource.com/34951
    Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarMatt Layher <mdlayher@gmail.com>
    da2b4fa2
Name
Last commit
Last update
bpf Loading commit data...
context Loading commit data...
dict Loading commit data...
html Loading commit data...
http2 Loading commit data...
icmp Loading commit data...
idna Loading commit data...
internal Loading commit data...
ipv4 Loading commit data...
ipv6 Loading commit data...
lex/httplex Loading commit data...
lif Loading commit data...
nettest Loading commit data...
netutil Loading commit data...
proxy Loading commit data...
publicsuffix Loading commit data...
route Loading commit data...
trace Loading commit data...
webdav Loading commit data...
websocket Loading commit data...
xsrftoken Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
codereview.cfg Loading commit data...