Skip to content

Commit e43c4f5

Browse files
fix instructions
1 parent 80311a0 commit e43c4f5

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,21 @@
1414
### Usage and installation :
1515
```bash
1616
# 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
1821

1922
# Full path to the root of the forked compiler
2023
export GOROOT=/path/to/go-panikint
2124

2225
# Compile and run a Go program
2326
./bin/go run test_simple_overflow.go
2427

25-
# Compile only
26-
./bin/go build test_simple_overflow.go
28+
######
2729

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
3132

3233
# Fuzz only
3334
./bin/go test -fuzz=FuzzIntegerOverflow -v

0 commit comments

Comments
 (0)