Skip to content

Commit

Permalink
jadx debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Nov 13, 2024
1 parent 4c2440a commit 0078a3a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions bbot/modules/jadx.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,9 @@ async def decompile_apk(self, path, output_dir):
try:
output = await self.run_process(command, check=True)
except CalledProcessError as e:
self.warning(f"Error decompiling {path}. STDERR: {repr(e.stderr)}")
self.warning(f"Error decompiling {path}. STDOUT: {e.stdout} STDERR: {repr(e.stderr)}")
return False
if not Path(output_dir / "resources").exists() and not Path(output_dir / "sources").exists():
self.warning(f"JADX was unable to decompile {path}.")
self.warning(output)
if not (output_dir / "resources").exists() and not (output_dir / "sources").exists():
self.warning(f"JADX was unable to decompile {path}: (STDOUT: {output.stdout} STDERR: {output.stderr})")
return False
return True

0 comments on commit 0078a3a

Please sign in to comment.