File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 14
14
### Usage and installation :
15
15
``` bash
16
16
# Clone, change dir and compile the compiler
17
- git clone https://github.com/trailofbits/go-panikint && cd go-panikint/src && ./make.bash
17
+ git clone https://github.com/trailofbits/go-panikint && cd go-panikint/src
18
+
19
+ # Compile with all features
20
+ ./make.bash
18
21
19
22
# Full path to the root of the forked compiler
20
23
export GOROOT=/path/to/go-panikint
21
24
22
25
# Compile and run a Go program
23
26
./bin/go run test_simple_overflow.go
24
27
25
- # Compile only
26
- ./bin/go build test_simple_overflow.go
28
+ # #####
27
29
28
- # Build compiler with truncation detection disabled
29
- cd src && GOFLAGS=" -gcflags=-truncationdetect=false" ./make.bash
30
-
30
+ # Alternatively: build compiler with truncation detection disabled
31
+ GOFLAGS=" -gcflags=-truncationdetect=false" ./make.bash
31
32
32
33
# Fuzz only
33
34
./bin/go test -fuzz=FuzzIntegerOverflow -v
You can’t perform that action at this time.
0 commit comments