Tests: add tests for lttng_ust_elf_is_pic
authorAntoine Busque <abusque@efficios.com>
Fri, 15 Apr 2016 17:18:04 +0000 (13:18 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 15 Apr 2016 19:57:33 +0000 (15:57 -0400)
commit968f523d9ce251a0355e4bf7ff558f399024d744
treee6021f391a921f03b447e393323119ee65a47754
parentf5eb039d03be9b844c5cfde268008c60d79258d8
Tests: add tests for lttng_ust_elf_is_pic

This adds tests for the lttng_ust_elf_is_pic function used to tell
whether an executable is position independent code or not. Three
sample executables are used, one non-PIC executable, one PIE, and a
PIC shared object.

Signed-off-by: Antoine Busque <abusque@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/ust-elf/README.md
tests/ust-elf/data/pic/hello.c [new file with mode: 0644]
tests/ust-elf/data/pic/hello.exec [new file with mode: 0644]
tests/ust-elf/data/pic/hello.pic [new file with mode: 0644]
tests/ust-elf/data/pic/hello.pie [new file with mode: 0644]
tests/ust-elf/data/pic/libhello.c [new file with mode: 0644]
tests/ust-elf/prog.c
This page took 0.02468 seconds and 4 git commands to generate.