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 /
runtime /
testdata /
testprogcgo /
[ HOME SHELL ]
Name
Size
Permission
Action
windows
[ DIR ]
drwxr-xr-x
aprof.go
947
B
-rw-r--r--
bigstack_windows.c
1.2
KB
-rw-r--r--
bigstack_windows.go
578
B
-rw-r--r--
callback.go
1.38
KB
-rw-r--r--
catchpanic.go
963
B
-rw-r--r--
cgo.go
1.82
KB
-rw-r--r--
crash.go
743
B
-rw-r--r--
deadlock.go
509
B
-rw-r--r--
dll_windows.go
459
B
-rw-r--r--
dropm.go
1.02
KB
-rw-r--r--
dropm_stub.go
333
B
-rw-r--r--
exec.go
2.06
KB
-rw-r--r--
lockosthread.c
301
B
-rw-r--r--
lockosthread.go
2.56
KB
-rw-r--r--
main.go
651
B
-rw-r--r--
numgoroutine.go
1.89
KB
-rw-r--r--
pprof.go
1.88
KB
-rw-r--r--
raceprof.go
1.68
KB
-rw-r--r--
racesig.go
1.89
KB
-rw-r--r--
sigpanic.go
484
B
-rw-r--r--
sigstack.go
2.06
KB
-rw-r--r--
stack_windows.go
987
B
-rw-r--r--
threadpanic.go
410
B
-rw-r--r--
threadpanic_unix.c
435
B
-rw-r--r--
threadpanic_windows.c
435
B
-rw-r--r--
threadpprof.go
2.36
KB
-rw-r--r--
threadprof.go
2.11
KB
-rw-r--r--
traceback.go
1.42
KB
-rw-r--r--
tracebackctxt.go
2.17
KB
-rw-r--r--
tracebackctxt_c.c
2.02
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : raceprof.go
// Copyright 2016 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. // +build linux,amd64 freebsd,amd64 package main // Test that we can collect a lot of colliding profiling signals from // an external C thread. This used to fail when built with the race // detector, because a call of the predeclared function copy was // turned into a call to runtime.slicecopy, which is not marked nosplit. /* #include <signal.h> #include <stdint.h> #include <pthread.h> #include <sched.h> struct cgoTracebackArg { uintptr_t context; uintptr_t sigContext; uintptr_t* buf; uintptr_t max; }; static int raceprofCount; // We want a bunch of different profile stacks that collide in the // hash table maintained in runtime/cpuprof.go. This code knows the // size of the hash table (1 << 10) and knows that the hash function // is simply multiplicative. void raceprofTraceback(void* parg) { struct cgoTracebackArg* arg = (struct cgoTracebackArg*)(parg); raceprofCount++; arg->buf[0] = raceprofCount * (1 << 10); arg->buf[1] = 0; } static void* raceprofThread(void* p) { int i; for (i = 0; i < 100; i++) { pthread_kill(pthread_self(), SIGPROF); sched_yield(); } return 0; } void runRaceprofThread() { pthread_t tid; pthread_create(&tid, 0, raceprofThread, 0); pthread_join(tid, 0); } */ import "C" import ( "bytes" "fmt" "runtime" "runtime/pprof" "unsafe" ) func init() { register("CgoRaceprof", CgoRaceprof) } func CgoRaceprof() { runtime.SetCgoTraceback(0, unsafe.Pointer(C.raceprofTraceback), nil, nil) var buf bytes.Buffer pprof.StartCPUProfile(&buf) C.runRaceprofThread() fmt.Println("OK") }
Close