Exploit databaseDownload repository ZIP
GH-8958357e96f9d8f8c98383150c404283
notkmhn/cve-2022-21449-tls-poc
Sources for CVE-2022-21449
14 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files540
notkmhn/cve-2022-21449-tls-pocRevision fa239eebae2b
- ↑..Parent directory
- asan/
- cgo/
- debug/
- internal/
- metrics/
- msan/
- pprof/
- race/
- testdata/
- trace/
- HACKING.md
- Makefile
- alg.go
- asan.go
- asan0.go
- asan_amd64.s
- asan_arm64.s
- asm.s
- asm_386.s
- asm_amd64.h
- asm_amd64.s
- asm_arm.s
- asm_arm64.s
- asm_mips64x.s
- asm_mipsx.s
- asm_ppc64x.h
- asm_ppc64x.s
- asm_riscv64.s
- asm_s390x.s
- asm_wasm.s
- atomic_arm64.s
- atomic_mips64x.s
- atomic_mipsx.s
- atomic_pointer.go
- atomic_ppc64x.s
- atomic_riscv64.s
- auxv_none.go
- cgo.go
- cgo_mmap.go
- cgo_ppc64x.go
- cgo_sigaction.go
- cgocall.go
- cgocallback.go
- cgocheck.go
- chan.go
- checkptr.go
- compiler.go
- complex.go
- cpuflags.go
- cpuflags_amd64.go
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
go/src/runtime/sys_wasm.go
Go · 754 bytes// 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.
package runtime
import (
"internal/goarch"
"runtime/internal/sys"
"unsafe"
)
type m0Stack struct {
_ [8192 * sys.StackGuardMultiplier]byte
}
var wasmStack m0Stack
func wasmMove()
func wasmZero()
func wasmDiv()
func wasmTruncS()
func wasmTruncU()
func wasmExit(code int32)
// adjust Gobuf as it if executed a call to fn with context ctxt
// and then stopped before the first instruction in fn.
func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) {
sp := buf.sp
sp -= goarch.PtrSize
*(*uintptr)(unsafe.Pointer(sp)) = buf.pc
buf.sp = sp
buf.pc = uintptr(fn)
buf.ctxt = ctxt
}