summaryrefslogtreecommitdiff
path: root/plugins/readelf/header.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-03-14 22:18:27 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-03-14 22:18:27 (GMT)
commitfab9d7cd46922abea7d94f36dcd4630cdf3f4719 (patch)
treead41bb921db17631104a069e4df64fb4fc5ccfc1 /plugins/readelf/header.c
parent8d8e5c02096f59a7227308a591fc5050ea5d92ff (diff)
Improved the basic support of Dwarf information.
Diffstat (limited to 'plugins/readelf/header.c')
-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 6c7e171..1c46bbc 100644
--- a/plugins/readelf/header.c
+++ b/plugins/readelf/header.c
@@ -58,7 +58,7 @@ bool annotate_elf_header(GElfFormat *format)
content = g_binary_format_get_content(G_BIN_FORMAT(format));
header = g_elf_format_get_header(format);
- endian = g_elf_format_get_endianness(format);
+ endian = g_binary_format_get_endianness(G_BIN_FORMAT(format));
if (!g_exe_format_translate_offset_into_vmpa(G_EXE_FORMAT(format), 0, &pos))
return false;