You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			30 lines
		
	
	
		
			454 B
		
	
	
	
		
			Plaintext
		
	
			
		
		
	
	
			30 lines
		
	
	
		
			454 B
		
	
	
	
		
			Plaintext
		
	
exec garble run garble_main.go
 | 
						|
! stdout '^garble_main\.go 9$'
 | 
						|
stdout '\.go \d'
 | 
						|
 | 
						|
[short] stop # no need to verify this with -short
 | 
						|
 | 
						|
# also with a package
 | 
						|
exec garble run .
 | 
						|
! stdout '^garble_main\.go 9$'
 | 
						|
stdout '\.go \d'
 | 
						|
 | 
						|
go run garble_main.go
 | 
						|
stdout 'garble_main\.go 9$'
 | 
						|
-- go.mod --
 | 
						|
module test/main
 | 
						|
 | 
						|
go 1.22
 | 
						|
-- garble_main.go --
 | 
						|
package main
 | 
						|
 | 
						|
import (
 | 
						|
	"fmt"
 | 
						|
	"runtime"
 | 
						|
)
 | 
						|
 | 
						|
func main() {
 | 
						|
	_, file, line, _ := runtime.Caller(0)
 | 
						|
	fmt.Println(file, line)
 | 
						|
}
 |