- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 184 for clobber (0.13 sec)
-
src/cmd/cgo/internal/testshared/testdata/gcdata/main/main.go
// variables with types defined in a shared library. // See issue 39927. // This test run under GODEBUG=clobberfree=1. The check // *x[i] == 12345 depends on this debug mode to clobber // the value if the object is freed prematurely. package main import ( "fmt" "runtime" "testshared/gcdata/p" ) var x p.T func main() { for i := range x { x[i] = new(int)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 763 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/framepointer/framepointer.go
// Package framepointer defines an Analyzer that reports assembly code // that clobbers the frame pointer before saving it. package framepointer import ( "go/build" "regexp" "strings" "golang.org/x/tools/go/analysis" "golang.org/x/tools/go/analysis/passes/internal/analysisutil" ) const Doc = "report assembly that clobbers the frame pointer before saving it" var Analyzer = &analysis.Analyzer{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 2.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/arch.go
REGSP int MAXWIDTH int64 SoftFloat bool PadFrame func(int64) int64 // ZeroRange zeroes a range of memory on stack. It is only inserted // at function entry, and it is ok to clobber registers. ZeroRange func(*objw.Progs, *obj.Prog, int64, int64, *uint32) *obj.Prog Ginsnop func(*objw.Progs) *obj.Prog // SSAMarkMoves marks any MOVXconst ops that need to avoid clobbering flags.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 03 21:05:55 UTC 2021 - 1.5K bytes - Viewed (0) -
src/cmd/internal/buildid/buildid_test.go
if elf.ProgType(phdr.Type) == elf.PT_NOTE { // Increase the size so we keep // reading notes. order.PutUint64(data[phoff+4*8:], phdr.Filesz+1) // Clobber the Align field to zero. order.PutUint64(data[phoff+6*8:], 0) // Clobber the note type so we // keep reading notes. order.PutUint32(data[phdr.Off+12:], 0) } phoff += phsize }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:31:28 UTC 2024 - 6.6K bytes - Viewed (0) -
src/runtime/rt0_linux_arm.s
// if the system only supports OABI. // The strategy here is to call some EABI syscall to see if // SIGILL is received. // If you get a SIGILL here, you have the wrong kernel. // Save argc and argv (syscall will clobber at least R0). MOVM.DB.W [R0-R1], (R13) // do an EABI syscall MOVW $20, R7 // sys_getpid SWI $0 // this will trigger SIGILL on OABI systems MOVM.IA.W (R13), [R0-R1]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 12 21:41:30 UTC 2018 - 1007 bytes - Viewed (0) -
src/runtime/signal_ppc64x.go
// Push the LR to stack, as we'll clobber it in order to // push the call. The function being pushed is responsible // for restoring the LR and setting the SP back. // This extra space is known to gentraceback. sp := c.sp() - sys.MinFrameSize c.set_sp(sp) *(*uint64)(unsafe.Pointer(uintptr(sp))) = c.link() // In PIC mode, we'll set up (i.e. clobber) R2 on function // entry. Save it ahead of time.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 15:08:04 UTC 2023 - 3.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/flagalloc.go
// we can leave in the flags register at the end of the block. (There // is no place to put a flag regeneration instruction.) for _, b := range f.Blocks { if b.Kind == BlockDefer { // Defer blocks internally use/clobber the flags value. end[b.ID] = nil continue } for _, v := range b.ControlValues() { if v.Type.IsFlags() && end[b.ID] != v { end[b.ID] = nil } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 21:41:20 UTC 2022 - 6.7K bytes - Viewed (0) -
src/runtime/signal_386.go
pc := uintptr(c.eip()) sp := uintptr(c.esp()) if shouldPushSigpanic(gp, pc, *(*uintptr)(unsafe.Pointer(sp))) { c.pushCall(abi.FuncPCABIInternal(sigpanic), pc) } else { // Not safe to push the call. Just clobber the frame. c.set_eip(uint32(abi.FuncPCABIInternal(sigpanic))) } } func (c *sigctxt) pushCall(targetPC, resumePC uintptr) { // Make it look like we called target at resumePC. sp := uintptr(c.esp())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.7K bytes - Viewed (0) -
src/cmd/link/internal/ld/inittask.go
ctxt.mainInittasks = ctxt.inittaskSym([]string{fmt.Sprintf("%s..inittask", objabi.PathToPrefix(*flagPluginPath))}, "go:plugin.inittasks") // Make symbol local so multiple plugins don't clobber each other's inittask list. ctxt.loader.SetAttrLocal(ctxt.mainInittasks, true) case BuildModeShared: // For a shared library, all packages are roots. var roots []string for _, lib := range ctxt.Library {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 30 20:09:45 UTC 2024 - 6.2K bytes - Viewed (0) -
src/runtime/asan_ppc64le.s
RLDCR $0, R1, $~15, R1 // align SP to 16 bytes MOVD FARG, CTR // address of function to be called MOVD R0, 0(R1) // clear back chain pointer BL (CTR) MOVD $0, R0 // C code can clobber R0 set it back to 0 MOVD R16, R1 // restore R1; MOVD runtimeĀ·tls_g(SB), R10 // find correct g MOVD 0(R10), g RET // tls_g, g value for each thread in TLS
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 26 18:13:33 UTC 2022 - 2.8K bytes - Viewed (0)