Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
local /
go /
src /
cmd /
internal /
obj /
[ HOME SHELL ]
Name
Size
Permission
Action
arm
[ DIR ]
drwxr-xr-x
arm64
[ DIR ]
drwxr-xr-x
mips
[ DIR ]
drwxr-xr-x
ppc64
[ DIR ]
drwxr-xr-x
riscv
[ DIR ]
drwxr-xr-x
s390x
[ DIR ]
drwxr-xr-x
wasm
[ DIR ]
drwxr-xr-x
x86
[ DIR ]
drwxr-xr-x
abi_string.go
351
B
-rw-r--r--
addrtype_string.go
572
B
-rw-r--r--
data.go
6.36
KB
-rw-r--r--
dwarf.go
6.85
KB
-rw-r--r--
go.go
342
B
-rw-r--r--
inl.go
3.99
KB
-rw-r--r--
ld.go
2.62
KB
-rw-r--r--
line.go
615
B
-rw-r--r--
line_test.go
1.06
KB
-rw-r--r--
link.go
22.61
KB
-rw-r--r--
objfile.go
23.82
KB
-rw-r--r--
objfile2.go
8.95
KB
-rw-r--r--
pass.go
4.93
KB
-rw-r--r--
pcln.go
11.37
KB
-rw-r--r--
plist.go
7.31
KB
-rw-r--r--
sizeof_test.go
824
B
-rw-r--r--
stringer.go
2.22
KB
-rw-r--r--
sym.go
8.81
KB
-rw-r--r--
textflag.go
1.52
KB
-rw-r--r--
util.go
13.22
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : line_test.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package obj import ( "cmd/internal/src" "fmt" "testing" ) func TestLinkgetlineFromPos(t *testing.T) { ctxt := new(Link) ctxt.hash = make(map[string]*LSym) ctxt.statichash = make(map[string]*LSym) afile := src.NewFileBase("a.go", "a.go") bfile := src.NewFileBase("b.go", "/foo/bar/b.go") lfile := src.NewLinePragmaBase(src.MakePos(afile, 8, 1), "linedir", "linedir", 100, 1) var tests = []struct { pos src.Pos want string }{ {src.NoPos, "??:0"}, {src.MakePos(afile, 1, 0), "a.go:1"}, {src.MakePos(afile, 2, 0), "a.go:2"}, {src.MakePos(bfile, 10, 4), "/foo/bar/b.go:10"}, {src.MakePos(lfile, 10, 0), "linedir:102"}, // 102 == 100 + (10 - (7+1)) } for _, test := range tests { f, l := linkgetlineFromPos(ctxt, ctxt.PosTable.XPos(test.pos)) got := fmt.Sprintf("%s:%d", f, l) if got != src.FileSymPrefix+test.want { t.Errorf("linkgetline(%v) = %q, want %q", test.pos, got, test.want) } } }
Close