summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-04-23 21:38:02 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-04-23 21:38:02 (GMT)
commita5758a42acdfaf0ac20c4cfb9cf162a9b4440e39 (patch)
tree21707c2ad7557d80eeb09e300e6c491868a1871a /plugins
parent3284ce333cc4b09d9150b59c60005af8e4ddc417 (diff)
Limited the length of displayed SHA1 binary value for Dex files.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/readdex/header.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/readdex/header.c b/plugins/readdex/header.c
index 999baa4..5089f96 100644
--- a/plugins/readdex/header.c
+++ b/plugins/readdex/header.c
@@ -98,6 +98,7 @@ bool annotate_dex_header(GDexFormat *format)
copy_vmpa(&start, &pos);
instr = g_raw_instruction_new_array(content, MDS_32_BITS, 5, &pos, endian);
+ g_arch_instruction_set_displayed_max_length(instr, 4);
SET_IMM_DISPLAY(instr, operand, 0, IOD_HEX);
ADD_RAW_AS_SYM(format, symbol, &start, instr, comment, _("SHA-1 signature used to uniquely identify files"));