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]

fixed a typo in decompile

Talor Abramovich28ea70543a83
diff --git a/config/commands/decompile.py b/config/commands/decompile.py
index c4978605..a70f77b1 100644
--- a/config/commands/decompile.py
+++ b/config/commands/decompile.py
@@ -69,7 +69,7 @@ class Decompile:
if found := self.find_function(self._decomp_cache[basename], function):
return f"Decompilation Found!\n{found}"
else:
- return f"Error: Function {function} not found in {binary}.\nThese are the available functions found: {", ".join(self._decomp_cache[basename]['functions'].keys())}"
+ return f"Error: Function {function} not found in {binary}.\nThese are the available functions found: {', '.join(self._decomp_cache[basename]['functions'].keys())}"
def run_ghidra(self, binary, output):
real_binary = Path(binary)