File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 8
8
@CGO_ENABLED=0 GOOS=windows go build -ldflags " -s -w" -trimpath -o tests/embedemo_pe tests/embedemo.go
9
9
10
10
@echo "unit test"
11
- @go run main.go -target ./tests/embedemo_elf -vaddr 0x00000000000F8F60
12
- @go run main.go -target ./tests/embedemo_macho -vaddr 0x00000001000EAA00
13
- @go run main.go -target ./tests/embedemo_pe -vaddr 0x00000001000F3B00
11
+ @go run main.go -target ./tests/embedemo_elf -vaddr 0x00000000000F8F60 -output out/elf
12
+ @go run main.go -target ./tests/embedemo_macho -vaddr 0x00000001000EAA00 -output out/macho
13
+ @go run main.go -target ./tests/embedemo_pe -vaddr 0x00000001000F3B00 -output out/pe
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ It provides a simple way for developers and reverse engineers to analyze and rec
16
16
17
17
2 . Extract embedded files from a Go binary:
18
18
``` bash
19
- gee -target ./tests/embedemo_elf -vaddr 0x00000000000F8F60
19
+ gee -target -target ./tests/embedemo_macho -vaddr 0x00000001000EAA00
20
20
```
21
21
22
22
## References
You can’t perform that action at this time.
0 commit comments