Skip to content

Commit 9c6d216

Browse files
[llvm] Proofread FuzzingLLVM.rst (#161046)
1 parent 9a5671e commit 9c6d216

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

llvm/docs/FuzzingLLVM.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ clang-proto-fuzzer
3333
A |protobuf fuzzer| that compiles valid C++ programs generated from a protobuf
3434
class that describes a subset of the C++ language.
3535

36-
This fuzzer accepts clang command line options after `ignore_remaining_args=1`.
36+
This fuzzer accepts clang command-line options after `ignore_remaining_args=1`.
3737
For example, the following command will fuzz clang with a higher optimization
3838
level:
3939

@@ -106,7 +106,7 @@ llvm-opt-fuzzer
106106

107107
A |LLVM IR fuzzer| aimed at finding bugs in optimization passes.
108108

109-
It receives optimization pipeline and runs it for each fuzzer input.
109+
It receives an optimization pipeline and runs it for each fuzzer input.
110110

111111
Interface of this fuzzer almost directly mirrors ``llvm-isel-fuzzer``. Both
112112
``mtriple`` and ``passes`` arguments are required. Passes are specified in a
@@ -117,7 +117,7 @@ this format in the doxygen for ``PassBuilder::parsePassPipeline``.
117117
118118
% bin/llvm-opt-fuzzer <corpus-dir> -ignore_remaining_args=1 -mtriple x86_64 -passes instcombine
119119
120-
Similarly to the ``llvm-isel-fuzzer`` arguments in some predefined configurations
120+
Similarly to the ``llvm-isel-fuzzer``, arguments in some predefined configurations
121121
might be embedded directly into the binary file name:
122122

123123
.. code-block:: shell
@@ -176,7 +176,7 @@ mutations that a fuzzer in LLVM might want.
176176
Generic Random Fuzzing
177177
----------------------
178178

179-
The most basic form of input mutation is to use the built in mutators of
179+
The most basic form of input mutation is to use the built-in mutators of
180180
LibFuzzer. These simply treat the input corpus as a bag of bits and make random
181181
mutations. This type of fuzzer is good for stressing the surface layers of a
182182
program, and is good at testing things like lexers, parsers, or binary
@@ -244,7 +244,7 @@ by adding the following two flags to your CMake invocation:
244244
to avoid building the sanitizers themselves with sanitizers enabled.
245245

246246
.. note:: You may run into issues if you build with BFD ld, which is the
247-
default linker on many unix systems. These issues are being tracked
247+
default linker on many Unix systems. These issues are being tracked
248248
in https://llvm.org/PR34636.
249249

250250
Continuously Running and Finding Bugs
@@ -280,6 +280,6 @@ your fuzzer can be built and tested when not built against libFuzzer.
280280

281281
There is also some handling of the CMake config for fuzzers, where you should
282282
use the ``add_llvm_fuzzer`` to set up fuzzer targets. This function works
283-
similarly to functions such as ``add_llvm_tool``, but they take care of linking
283+
similarly to functions such as ``add_llvm_tool``, but it takes care of linking
284284
to LibFuzzer when appropriate and can be passed the ``DUMMY_MAIN`` argument to
285285
enable standalone testing.

0 commit comments

Comments
 (0)