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 /
internal /
bytealg /
[ HOME SHELL ]
Name
Size
Permission
Action
bytealg.go
664
B
-rw-r--r--
compare_386.s
2.65
KB
-rw-r--r--
compare_amd64.s
4.13
KB
-rw-r--r--
compare_arm.s
1.75
KB
-rw-r--r--
compare_arm64.s
2.15
KB
-rw-r--r--
compare_generic.go
994
B
-rw-r--r--
compare_mips64x.s
1.66
KB
-rw-r--r--
compare_mipsx.s
1.39
KB
-rw-r--r--
compare_native.go
590
B
-rw-r--r--
compare_ppc64x.s
6.56
KB
-rw-r--r--
compare_s390x.s
1.19
KB
-rw-r--r--
compare_wasm.s
1.44
KB
-rw-r--r--
count_amd64.s
3.96
KB
-rw-r--r--
count_arm.s
917
B
-rw-r--r--
count_arm64.s
2.02
KB
-rw-r--r--
count_generic.go
460
B
-rw-r--r--
count_native.go
616
B
-rw-r--r--
count_ppc64x.s
2.71
KB
-rw-r--r--
count_s390x.s
5.38
KB
-rw-r--r--
equal_386.s
2.16
KB
-rw-r--r--
equal_amd64.s
2.52
KB
-rw-r--r--
equal_arm.s
1.81
KB
-rw-r--r--
equal_arm64.s
2.64
KB
-rw-r--r--
equal_generic.go
628
B
-rw-r--r--
equal_mips64x.s
1.02
KB
-rw-r--r--
equal_mipsx.s
1.07
KB
-rw-r--r--
equal_native.go
789
B
-rw-r--r--
equal_ppc64x.s
2.33
KB
-rw-r--r--
equal_riscv64.s
963
B
-rw-r--r--
equal_s390x.s
1.77
KB
-rw-r--r--
equal_wasm.s
1.1
KB
-rw-r--r--
index_amd64.go
617
B
-rw-r--r--
index_amd64.s
5
KB
-rw-r--r--
index_arm64.go
706
B
-rw-r--r--
index_arm64.s
3.91
KB
-rw-r--r--
index_generic.go
872
B
-rw-r--r--
index_native.go
559
B
-rw-r--r--
index_s390x.go
1011
B
-rw-r--r--
index_s390x.s
5.5
KB
-rw-r--r--
indexbyte_386.s
647
B
-rw-r--r--
indexbyte_amd64.s
3.07
KB
-rw-r--r--
indexbyte_arm.s
951
B
-rw-r--r--
indexbyte_arm64.s
3.33
KB
-rw-r--r--
indexbyte_generic.go
516
B
-rw-r--r--
indexbyte_mips64x.s
981
B
-rw-r--r--
indexbyte_mipsx.s
1008
B
-rw-r--r--
indexbyte_native.go
378
B
-rw-r--r--
indexbyte_ppc64x.s
7.78
KB
-rw-r--r--
indexbyte_riscv64.s
934
B
-rw-r--r--
indexbyte_s390x.s
2.49
KB
-rw-r--r--
indexbyte_wasm.s
2.54
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : indexbyte_s390x.s
// Copyright 2018 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. #include "go_asm.h" #include "textflag.h" TEXT ·IndexByte(SB),NOSPLIT|NOFRAME,$0-40 MOVD b_base+0(FP), R3// b_base => R3 MOVD b_len+8(FP), R4 // b_len => R4 MOVBZ c+24(FP), R5 // c => R5 MOVD $ret+32(FP), R2 // &ret => R9 BR indexbytebody<>(SB) TEXT ·IndexByteString(SB),NOSPLIT|NOFRAME,$0-32 MOVD s_base+0(FP), R3// s_base => R3 MOVD s_len+8(FP), R4 // s_len => R4 MOVBZ c+16(FP), R5 // c => R5 MOVD $ret+24(FP), R2 // &ret => R9 BR indexbytebody<>(SB) // input: // R3: s // R4: s_len // R5: c -- byte sought // R2: &ret -- address to put index into TEXT indexbytebody<>(SB),NOSPLIT|NOFRAME,$0 CMPBEQ R4, $0, notfound MOVD R3, R6 // store base for later ADD R3, R4, R8 // the address after the end of the string //if the length is small, use loop; otherwise, use vector or srst search CMPBGE R4, $16, large residual: CMPBEQ R3, R8, notfound MOVBZ 0(R3), R7 LA 1(R3), R3 CMPBNE R7, R5, residual found: SUB R6, R3 SUB $1, R3 MOVD R3, 0(R2) RET notfound: MOVD $-1, 0(R2) RET large: MOVBZ internal∕cpu·S390X+const_offsetS390xHasVX(SB), R1 CMPBNE R1, $0, vectorimpl srstimpl: // no vector facility MOVBZ R5, R0 // c needs to be in R0, leave until last minute as currently R0 is expected to be 0 srstloop: WORD $0xB25E0083 // srst %r8, %r3 (search the range [R3, R8)) BVS srstloop // interrupted - continue BGT notfoundr0 foundr0: XOR R0, R0 // reset R0 SUB R6, R8 // remove base MOVD R8, 0(R2) RET notfoundr0: XOR R0, R0 // reset R0 MOVD $-1, 0(R2) RET vectorimpl: //if the address is not 16byte aligned, use loop for the header MOVD R3, R8 AND $15, R8 CMPBGT R8, $0, notaligned aligned: ADD R6, R4, R8 MOVD R8, R7 AND $-16, R7 // replicate c across V17 VLVGB $0, R5, V19 VREPB $0, V19, V17 vectorloop: CMPBGE R3, R7, residual VL 0(R3), V16 // load string to be searched into V16 ADD $16, R3 VFEEBS V16, V17, V18 // search V17 in V16 and set conditional code accordingly BVS vectorloop // when vector search found c in the string VLGVB $7, V18, R7 // load 7th element of V18 containing index into R7 SUB $16, R3 SUB R6, R3 ADD R3, R7 MOVD R7, 0(R2) RET notaligned: MOVD R3, R8 AND $-16, R8 ADD $16, R8 notalignedloop: CMPBEQ R3, R8, aligned MOVBZ 0(R3), R7 LA 1(R3), R3 CMPBNE R7, R5, notalignedloop BR found
Close