summaryrefslogtreecommitdiff
path: root/src/analysis/disass
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-04-27 10:13:20 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-04-27 10:13:20 (GMT)
commitf34023c5c6d47ccfed65ea9b61497b4febb8746c (patch)
tree9312aa982769076387e7cc316068ba724292d357 /src/analysis/disass
parentf2f74f95602514774f15a28ceda2a39956745034 (diff)
Skipped the instruction printing in batch mode.
Diffstat (limited to 'src/analysis/disass')
-rw-r--r--src/analysis/disass/disassembler.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/analysis/disass/disassembler.c b/src/analysis/disass/disassembler.c
index dded65b..ca5e565 100644
--- a/src/analysis/disass/disassembler.c
+++ b/src/analysis/disass/disassembler.c
@@ -427,7 +427,8 @@ void disassemble_binary(GLoadedBinary *binary, wgroup_id_t gid, GtkStatusStack *
process_disassembly_event(PGA_DISASSEMBLY_ENDED, binary);
- output_disassembly(binary, context, status, cache);
+ if (!is_batch_mode())
+ output_disassembly(binary, context, status, cache);
/* Nettoyage final et sortie ! */