Skip to content

Commit 9a118fa

Browse files
committed
docs: update README with new command
Signed-off-by: Alessio Greggi <[email protected]>
1 parent ae45981 commit 9a118fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This tool is designed to provide fine-grained visibility into the syscalls made
1414

1515
## Getting Started
1616

17-
First of all, identify the symbol of the function you want to trace from the binary. Let's suppose you want to trace the function `doSomething()` present in the example program `./binary`. In order to get the symbol from the binary itself, you need to use the following command:
17+
First of all, let's identify the symbol of the function you want to trace from the binary. Suppose you want to trace the function `doSomething()` present in the example program `./binary`. In order to get the symbol from the binary itself, you need to use the following command:
1818

1919
```sh
2020
objdump --syms ./binary | grep doSomething
@@ -26,7 +26,7 @@ So, `main.doSomething` is the symbol of the function we want to trace using `har
2626
Then, let's run `harpoon` to extract the syscalls from the function `main.doSomething`:
2727

2828
```shell
29-
harpoon -fn main.doSomething ./binary
29+
harpoon capture -f main.doSomething ./binary
3030
read
3131
sigaltstack
3232
gettid

0 commit comments

Comments
 (0)