summaryrefslogtreecommitdiff
path: root/plugins
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
parent8d8e5c02096f59a7227308a591fc5050ea5d92ff (diff)
Improved the basic support of Dwarf information.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/readelf/header.c2
-rw-r--r--plugins/readelf/program.c2
-rw-r--r--plugins/readelf/section.c2
3 files changed, 3 insertions, 3 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;
diff --git a/plugins/readelf/program.c b/plugins/readelf/program.c
index 0a5ce7f..f380ce4 100644
--- a/plugins/readelf/program.c
+++ b/plugins/readelf/program.c
@@ -347,7 +347,7 @@ bool annotate_elf_program_header_table(GElfFormat *format)
result = true;
header = g_elf_format_get_header(format);
- endian = g_elf_format_get_endianness(format);
+ endian = g_binary_format_get_endianness(G_BIN_FORMAT(format));
offset = ELF_HDR(format, *header, e_phoff);
diff --git a/plugins/readelf/section.c b/plugins/readelf/section.c
index 8445fc6..bae4b4c 100644
--- a/plugins/readelf/section.c
+++ b/plugins/readelf/section.c
@@ -422,7 +422,7 @@ bool annotate_elf_section_header_table(GElfFormat *format)
result = true;
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 (!find_elf_section_by_index(format, ELF_HDR(format, *header, e_shstrndx), &strings))
return false;