summaryrefslogtreecommitdiff
path: root/plugins/readelf
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-04-19 19:25:04 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-04-19 19:25:04 (GMT)
commitc177597d6da5dedb32aa176e8370db8ffb7f87aa (patch)
tree26f7eb2702ba4aa3dfd7267d74fe78ad79791a8c /plugins/readelf
parent35f37c72e9d81e478395914da6c10b3c546761a7 (diff)
Handled static strings as well as dynamic strings in comments.
Diffstat (limited to 'plugins/readelf')
-rw-r--r--plugins/readelf/header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/readelf/header.c b/plugins/readelf/header.c
index 75e30fe..d0aee92 100644
--- a/plugins/readelf/header.c
+++ b/plugins/readelf/header.c
@@ -70,7 +70,7 @@ bool annotate_elf_header(GElfFormat *format)
SET_IMM_DISPLAY(instr, operand, 2, IOD_CHAR);
SET_IMM_DISPLAY(instr, operand, 3, IOD_CHAR);
- ADD_RAW_AS_SYM(format, symbol, instr, comment, _("ELF magic number"));
+ ADD_RAW_AS_SYM_CST(format, symbol, instr, comment, _("ELF magic number"));
/* EI_CLASS (4) */