summaryrefslogtreecommitdiff
path: root/plugins/readelf
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-11-26 18:23:56 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-11-26 18:23:56 (GMT)
commitce4b859adf12e1be6e13ea33b5afb1ce773ff1b3 (patch)
tree2c1d61d2dd2816474f729fcd8d9cc4e9b60847b6 /plugins/readelf
parent70a1a55321282d0aa1e7f13d327db21aa25d212a (diff)
Chosen keywords for os/processor-specific semantics.
Diffstat (limited to 'plugins/readelf')
-rw-r--r--plugins/readelf/program.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/readelf/program.c b/plugins/readelf/program.c
index cb9f948..9115758 100644
--- a/plugins/readelf/program.c
+++ b/plugins/readelf/program.c
@@ -260,10 +260,10 @@ static bool annotate_elf_program_header(GElfFormat *format, GPreloadInfo *info,
rights = stradd(rights, "X");
if (ELF_PHDR(format, phdr, p_flags) & PF_MASKOS)
- /* TODO */;
+ rights = stradd(rights, "o");
if (ELF_PHDR(format, phdr, p_flags) & PF_MASKPROC)
- /* TODO */;
+ rights = stradd(rights, "p");
if (rights == NULL)
{