Skip to content

Commit aff8c52

Browse files
authored
Merge pull request #76 from kevin-valerio/doc-fix
Fixing incorrect `cd` path
2 parents 2a696fb + 8d51034 commit aff8c52

File tree

1 file changed

+3
-3
lines changed
  • content/docs/fuzzing/c-cpp/12-libafl

1 file changed

+3
-3
lines changed

content/docs/fuzzing/c-cpp/12-libafl/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Next, clone LibAFL's source code and build the libFuzzer drop-in replacement. No
6868

6969
```shell
7070
git clone https://github.com/AFLplusplus/LibAFL
71-
cd LibAFL/libafl_libfuzzer/libafl_libfuzzer_runtime
71+
cd LibAFL/libafl_libfuzzer_runtime
7272
./build.sh
7373
```
7474

@@ -511,7 +511,7 @@ We can now build the fuzzer:
511511
cargo build --release
512512
```
513513

514-
The resulting binary is located at `target/release/target/debug/libappsec_guide.a`.
514+
The resulting binary is located at `target/release/libappsec_guide.a`.
515515

516516
### Compile a fuzz test {#compile-a-fuzz-test-rust}
517517

@@ -931,7 +931,7 @@ The fuzzing campaign can be launched by running:
931931

932932
### CMake-based project
933933

934-
Let’s assume we are using CMake to build the program mentioned in the [introduction]({{% relref "fuzzing#introduction-to-fuzzers" %}}). We add a CMake target that builds the `main.cc` and `harness.cc` and links the target together with AFL++. Note that we are excluding the main function through the `NO_MAIN` flag; otherwise, the program would have two main functions.
934+
Let’s assume we are using CMake to build the program mentioned in the [introduction]({{% relref "fuzzing#introduction-to-fuzzers" %}}). We add a CMake target that builds the `main.cc` and `harness.cc` and links the target together with LibAFL. Note that we are excluding the main function through the `NO_MAIN` flag; otherwise, the program would have two main functions.
935935

936936

937937
{{< customFigure "CMake example" >}}

0 commit comments

Comments
 (0)