Skip to content

SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

changed signature of decompile and disassemble

Talor Abramovich0adaabc1586c
diff --git a/config/commands/decompile.py b/config/commands/decompile.py
index bcc99c7a..a28ee0c6 100644
--- a/config/commands/decompile.py
+++ b/config/commands/decompile.py
@@ -1,7 +1,7 @@
#!/root/miniconda3/bin/python
# @yaml
-# signature: decompile <binary_path> <function_name>
+# signature: decompile <binary_path> [--function_name <function_name>]
# docstring: Decompile a binary and prints the decompilation of a given function name
# arguments:
# binary_path:
diff --git a/config/commands/disassemble.py b/config/commands/disassemble.py
index 13ec1504..4dbed44f 100644
--- a/config/commands/disassemble.py
+++ b/config/commands/disassemble.py
@@ -1,7 +1,7 @@
#!/root/miniconda3/bin/python
# @yaml
-# signature: disassemble <binary_path> <function_name>
+# signature: disassemble <binary_path> [--function_name <function_name>]
# docstring: Disassembles a binary and prints the disassembly of a given function name
# arguments:
# binary_path: