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 21:43:22 +0000 (17:43 -0400)
commit31e9c93b01305b14788155bb0198aa5844973e60
treee6021f391a921f03b447e393323119ee65a47754
parent444da810e491b66b873466c240202c27e0cd1adc
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.025356 seconds and 4 git commands to generate.