Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is pic #23

Closed
wants to merge 4 commits into from
Closed

Is pic #23

wants to merge 4 commits into from

Commits on Apr 15, 2016

  1. Add is_pic field to statedump soinfo event

    This field indicates whether the executable or library is position
    independent code (PIC). The field is not added to the similar dlopen
    event from liblttng-ust-dl because in that case all dlopened libraries
    are necessarily PIC.
    
    This allows a posteriori analyses to be performed without having to
    read the executable file to know whether adresses are relative to the
    base address or absolute.
    
    Signed-off-by: Antoine Busque <abusque@efficios.com>
    abusque committed Apr 15, 2016
    Configuration menu
    Copy the full SHA
    8e8e7a7 View commit details
    Browse the repository at this point in the history
  2. 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>
    abusque committed Apr 15, 2016
    Configuration menu
    Copy the full SHA
    ae3cc06 View commit details
    Browse the repository at this point in the history
  3. Tests: add info to regenerate PIC test files

    Signed-off-by: Antoine Busque <abusque@efficios.com>
    abusque committed Apr 15, 2016
    Configuration menu
    Copy the full SHA
    68c6d01 View commit details
    Browse the repository at this point in the history
  4. Tests: list ust-elf test data explicitly in EXTRA_DIST

    Signed-off-by: Antoine Busque <abusque@efficios.com>
    abusque committed Apr 15, 2016
    Configuration menu
    Copy the full SHA
    ff9dd28 View commit details
    Browse the repository at this point in the history