diff --git a/prompts/tool/container_tool.txt b/prompts/tool/container_tool.txt
index 28e7d01a4b..5f8ba052f1 100644
--- a/prompts/tool/container_tool.txt
+++ b/prompts/tool/container_tool.txt
@@ -1,14 +1,14 @@
-To help write a simple but valid fuzz target, your can investigate any files in the fuzz target's build environment by iteratively send me a BASH command, and I will provide you with the output of the command.
+To help write a simple but valid fuzz target, you can investigate any files in the fuzz target's build environment by iteratively sending me a BASH command, and I will provide you with the output of the command.
Some interaction protocols:
1. Strictly ONE BASH command at a time.
-2. Each message your send should first explain the reason why you want to run the command wrapped by , then provide the command to run wrapped in in this format:
+2. Each message you send should first explain the reason why you want to run the command wrapped by , then provide the command to run wrapped in in this format:
Reasons here.
One bash command here.
-3. Each repond I sent will repeat the command you sent in wrapped in for you to double-check, followed by the command standard output wrappped in and stderr wrapped in < in this format:
+3. Each reponse I send will repeat the command you sent wrapped in for you to double-check, followed by the command standard output wrapped in and stderr wrapped in < in this format:
The command I executed, copied from the command you sent.
@@ -18,13 +18,13 @@ The standard output of the command.
The standard error of the command.
-4. The final goal is to answer two questions about the new fuzz target: a) How to modify the existing fuzz target at {FUZZ_TARGET_PATH}
so that it can fuzz the new function-under-test? b) Do we nee to moidfy the build script at /src/build.sh
to successfully build the new fuzz target?
-5. If you have a conclusion on both questions, output overal description wrapped by followed by the modified target wrapped in . If you modified the build script, output it wrapped in :
+4. The final goal is to answer two questions about the new fuzz target: a) How to modify the existing fuzz target at {FUZZ_TARGET_PATH}
so that it can fuzz the new function-under-test? b) Do we need to modify the build script at /src/build.sh
to successfully build the new fuzz target?
+5. If you have a conclusion on both questions, output overall description wrapped by followed by the modified target wrapped in . If you modified the build script, output it wrapped in :
-Overal description about fuzz target design.
+Overall description about fuzz target design.
-The full code of fixed fuzz target here.
+The full code of the fixed fuzz target here.
The full code of build script here if you modified the build script, otherwise omit this block.
@@ -32,9 +32,9 @@ The full code of build script here if you modified the build script, otherwise o
Some general rules:
1. You are allowed to view all files and environment variables, but NOT ALLOWED TO 1) MODIFY THEM, RENAME THEM, OR CREATE NEW FILES. You can only modify the fuzz target at {FUZZ_TARGET_PATH}
or the build script at /src/build.sh
ONLY, and output the final version in conclusion. All modification of other files will NOT BE PRESERVED when building the modified fuzz target.
-2. Use the given fuzz target at {FUZZ_TARGET_PATH}
and other fuzz targets using LLVMFuzzerTestOneInput
under the same directory as examples. In particular, learn and resuse their ways to include headerfiles in your solution. In most cases, you can assume you only have to modified the content of LLVMFuzzerTestOneInput
to fuzz the new function-under-test.
+2. Use the given fuzz target at {FUZZ_TARGET_PATH}
and other fuzz targets using LLVMFuzzerTestOneInput
under the same directory as examples. In particular, learn and reuse their ways to include header files in your solution. In most cases, you can assume you only have to modify the content of LLVMFuzzerTestOneInput
to fuzz the new function-under-test.
3. If the header inclusion statements do not work, investigate the source code of the project and library files built by build.sh.
-4. If the building the fuzz target failed becaue it does not contain the function-under-test, consider modify /src/build.sh
to build the full project. The project-under-test's root dir is cloned from the project's git repo and may contain a README.md that describes how to build the full project.
-5. YOU MUST NOT COMPILE the fuzz target. Respond the conclusion above once you think you have an answer. The answer does not have to be perfect, I will compile it and show you the result.
-6. Once I recive your conclusion, I will replace {FUZZ_TARGET_PATH}
with your fuzz target. If you modified the build script, I will replace /src/build.sh with it too.
+4. If the building the fuzz target failed because it does not contain the function-under-test, consider modify /src/build.sh
to build the full project. The project-under-test's root dir is cloned from the project's git repo and may contain a README.md that describes how to build the full project.
+5. YOU MUST NOT COMPILE the fuzz target. Respond to the conclusion above once you think you have an answer. The answer does not have to be perfect, I will compile it and show you the result.
+6. Once I receive your conclusion, I will replace {FUZZ_TARGET_PATH}
with your fuzz target. If you modified the build script, I will replace /src/build.sh with it too.
7. DO NOT wrap code snippets with ```, using the XML-style tags above will suffice.