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 /
compile /
internal /
types /
[ HOME SHELL ]
Name
Size
Permission
Action
etype_string.go
1.52
KB
-rw-r--r--
identity.go
3.29
KB
-rw-r--r--
pkg.go
3.44
KB
-rw-r--r--
scope.go
2.34
KB
-rw-r--r--
sizeof_test.go
1.01
KB
-rw-r--r--
sym.go
4.33
KB
-rw-r--r--
sym_test.go
1.23
KB
-rw-r--r--
type.go
34.34
KB
-rw-r--r--
utils.go
1.97
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : scope.go
// Copyright 2017 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 types import "cmd/internal/src" // Declaration stack & operations var blockgen int32 = 1 // max block number var Block int32 // current block number // A dsym stores a symbol's shadowed declaration so that it can be // restored once the block scope ends. type dsym struct { sym *Sym // sym == nil indicates stack mark def *Node block int32 lastlineno src.XPos // last declaration for diagnostic } // dclstack maintains a stack of shadowed symbol declarations so that // Popdcl can restore their declarations when a block scope ends. var dclstack []dsym // Pushdcl pushes the current declaration for symbol s (if any) so that // it can be shadowed by a new declaration within a nested block scope. func Pushdcl(s *Sym) { dclstack = append(dclstack, dsym{ sym: s, def: s.Def, block: s.Block, lastlineno: s.Lastlineno, }) } // Popdcl pops the innermost block scope and restores all symbol declarations // to their previous state. func Popdcl() { for i := len(dclstack); i > 0; i-- { d := &dclstack[i-1] s := d.sym if s == nil { // pop stack mark Block = d.block dclstack = dclstack[:i-1] return } s.Def = d.def s.Block = d.block s.Lastlineno = d.lastlineno // Clear dead pointer fields. d.sym = nil d.def = nil } Fatalf("popdcl: no stack mark") } // Markdcl records the start of a new block scope for declarations. func Markdcl() { dclstack = append(dclstack, dsym{ sym: nil, // stack mark block: Block, }) blockgen++ Block = blockgen } func IsDclstackValid() bool { for _, d := range dclstack { if d.sym == nil { return false } } return true } // PkgDef returns the definition associated with s at package scope. func (s *Sym) PkgDef() *Node { return *s.pkgDefPtr() } // SetPkgDef sets the definition associated with s at package scope. func (s *Sym) SetPkgDef(n *Node) { *s.pkgDefPtr() = n } func (s *Sym) pkgDefPtr() **Node { // Look for outermost saved declaration, which must be the // package scope definition, if present. for _, d := range dclstack { if s == d.sym { return &d.def } } // Otherwise, the declaration hasn't been shadowed within a // function scope. return &s.Def }
Close