lp:elfutils

Get this repository:
git clone https://git.launchpad.net/elfutils

Import details

Import Status: Reviewed

This repository is an import of the Git repository at git://sourceware.org/git/elfutils.git.

The next import is scheduled to run .

Last successful import was .

Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 20 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 20 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 30 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 20 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 25 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 30 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 30 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 25 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 25 seconds — see the log

Branches

Name Last Modified Last Commit
main 2024-04-17 18:37:59 UTC
config/profile.fish.in: Prevent bracketed variables and unmatched wildcard er...

Author: Aaron Merey
Author Date: 2024-04-16 15:49:43 UTC

config/profile.fish.in: Prevent bracketed variables and unmatched wildcard errors

Fish does not support bracketed variables in scripts. Remove brackets
from the variable ${prefix} in profile.fish before installation to
prevent this error.

Fish also raises an error for unmatched wildcards, except for special
cases like the set command. Use a wildcard to match .urls files using
the set command instead of cat to prevent an unmatched wildcard error
when no .urls files are found.

Signed-off-by: Aaron Merey <amerey@redhat.com>

users/fche/try-bz28204f 2024-04-16 22:00:02 UTC
debuginfod: PR28204 - RPM IMA per-file signature verification

Author: Ryan Goldberg
Author Date: 2023-08-14 17:51:00 UTC

debuginfod: PR28204 - RPM IMA per-file signature verification

Recent versions of Fedora/RHEL include per-file cryptographic
signatures in RPMs, not just an overall RPM signature. This work
extends debuginfod client & server to extract, transfer, and verify
those signatures. These allow clients to assure users that the
downloaded files have not been corrupted since their original
packaging. Downloads that fail the test are rejected.

Clients may select a desired level of enforcement for sets of URLs in
the DEBUGINFOD_URLS by inserting special markers ahead of them:

ima:ignore pay no attention to absence or presence of signatures
ima:enforcing require every file to be correctly signed

The default is ima:ignore mode. In ima:enforcing mode, section
queries are forced to be entire-file downloads, as it is not
possible to crypto-verify just sections.

IMA signatures are verified against a set of signing certificates.
These are normally published by distributions. The environment
variable $DEBUGINFOD_IMA_CERT_PATH contains a colon-separated path for
finding DER or PEM formatted certificates / public keys. These
certificates are assumed trusted. The profile.d scripts transcribe
/etc/debuginfod/*.certdir files into that variable.

As for implementation:

* configure.ac: Add --enable-default-ima-cert-path=PATH parameter.
  Check for libimaevm (using headers only).

* config/Makefile.am: Install defaults into /etc files.
* config/profile.{csh,sh}.in: Process defaults into env variables.
* config/elfutils.spec.in: Add more buildrequires.

* debuginfod/debuginfod.cxx (handle_buildid_r_match): Added extraction of the
  per-file IMA signature for the queried file and store in http header.
  (find_globbed_koji_filepath): New function.
  (parse_opt): New flag --koji-sigcache.
* debuginfod/debuginfod-client.c (debuginfod_query_server): Added policy for
  validating IMA signatures
  (debuginfod_validate_imasig): New function, with friends.
* debuginfod/debuginfod.h.in: Added DEBUGINFOD_IMA_CERT_PATH_ENV_VAR.
* debuginfod/Makefile.am: Add linker flags for rpm and crypto.

* doc/debuginfod-client-config.7: Document DEBUGINFOD_IMA_CERT_PATH,
  update DEBUGINFOD_URLS.
* doc/debuginfod.8: Document --koji-sigcache.
* doc/debuginfod-find.1, doc/debuginfod_find_debuginfo.3: Update SECURITY.

* tests/run-debuginfod-ima-verification.sh: New test.
* tests/debuginfod-ima: Some new files for the tests.
* tests/Makefile.am: run/distribute them.

Signed-off-by: Ryan Goldberg <rgoldber@redhat.com>
Signed-off-by: Frank Ch. Eigler <fche@redhat.com>

users/amerey/try-pr27405 2024-04-09 23:53:51 UTC
use portable echo command

Author: Aaron Merey
Author Date: 2024-04-09 23:53:51 UTC

use portable echo command

users/fche/try-bz28204e 2024-04-03 20:45:56 UTC
PR28204 debuginfod ima verification review changes cont'd

Author: Frank Ch. Eigler
Author Date: 2024-03-30 17:04:14 UTC

PR28204 debuginfod ima verification review changes cont'd

- Drop use of libimaevm.so. Instead, reimplement the core signature
  computation functions based on openssl functions directly, using
  only imaevm.h for struct decls.
- Add an --enable-debuginfod-ima-cert-path=PATH configury option to
  populate /etc/debuginfod/*.imacert files, which profile.d scripts
  consume

users/fche/try-bz28204 2024-03-30 17:42:49 UTC
ima testing: switch 'pem' mode for koji subtest, allow dist/distcheck

Author: Frank Ch. Eigler
Author Date: 2024-03-30 17:42:49 UTC

ima testing: switch 'pem' mode for koji subtest, allow dist/distcheck

users/mark/try-funcretval-struct 2024-03-19 22:46:13 UTC
funcretval-struct

Author: Mark J. Wielaard
Author Date: 2024-03-19 22:43:10 UTC

funcretval-struct

users/amerey/try-no-objcopy 2024-03-01 01:56:12 UTC
skip if objcopy doesn't work

Author: Aaron Merey
Author Date: 2024-03-01 01:56:12 UTC

skip if objcopy doesn't work

users/amerey/try-pr31097 2024-02-02 22:25:17 UTC
adjust_relocs at most once per section

Author: Aaron Merey
Author Date: 2024-02-02 22:25:17 UTC

adjust_relocs at most once per section

users/serhei/eu-stacktrace 2024-02-02 20:46:36 UTC
eu-stacktrace WIP configury: sysprof-N/sysprof-capture-types.h

Author: Serhei Makarov
Author Date: 2024-02-02 20:46:36 UTC

eu-stacktrace WIP configury: sysprof-N/sysprof-capture-types.h

users/halamour/try-pr30991 2024-02-02 02:43:01 UTC
PR 30991: srcfiles tarball feature

Author: Housam Alamour
Author Date: 2023-10-25 18:52:36 UTC

PR 30991: srcfiles tarball feature

* srcfiles.cxx: Introduce new --zip option that places all the
    source files associated with a specified dwarf/elf file
    into a zip file and sends it to stdout. Files may be
    fetched from debuginfod (if applicable) or locally as
    a backup.
    Added -b option to disable the backup of checking
    for files locally in -z mode.

* run-srcfiles-self.sh: Added test-case for the new zip
    feature that archives the source files of the srcfiles
    tool and checks archive integrity. An additional test
    ensures that if debuginfod is enabled, the files are
    fetched and archived properly while maintaing integrity.

* debuginfod-subr.sh: On very slow/remote storage, it can
    take O(minute) to finish indexing the entire elfutils
    build tree, so a wait_ready4 shell function is one
    way to let a longer debuginfod wait operation work.

* srcfiles.1, NEWS: Added documentation for the new zip feature.

* configure.ac: Simplify check for libarchive for srcfiles.cxx
    by integrating it into the same check for debuginfod.

* Makefile.am: build with local copy of debuginfod-client.

Example:
% ./src/srcfiles -z -e /bin/ls > output.zip

https://sourceware.org/bugzilla/show_bug.cgi?id=30991

Signed-off-by: Housam Alamour <halamour@redhat.com>

users/halamour/try-pr30991-squashed 2024-01-26 17:21:36 UTC
PR 30991: srcfiles tarball feature

Author: Housam Alamour
Author Date: 2023-10-25 18:52:36 UTC

PR 30991: srcfiles tarball feature

* srcfiles.cxx: Introduce new --zip option that places all the
    source files associated with a specified dwarf/elf file
    into a zip file and sends it to stdout. Files may be
    fetched from debuginfod (if applicable) or locally as
    a backup.
    Added -b option to disable the backup of checking
    for files locally in -z mode.

* run-srcfiles-self.sh: Added test-case for the new zip
    feature that archives the source files of the srcfiles
    tool and checks archive integrity. An additional test
    ensures that if debuginfod is enabled, the files are
    fetched and archived properly while maintaing integrity.

* debuginfod-subr.sh: On very slow/remote storage, it can
    take O(minute) to finish indexing the entire elfutils
    build tree, so a wait_ready4 shell function is one
    way to let a longer debuginfod wait operation work.

* srcfiles.1, NEWS: Added documentation for the new zip feature.

* configure.ac: Simplify check for libarchive for srcfiles.cxx
    by integrating it into the same check for debuginfod.

* Makefile.am: build with local copy of debuginfod-client.

Example:
% ./src/srcfiles -z -e /bin/ls > output.zip

https://sourceware.org/bugzilla/show_bug.cgi?id=30991

Signed-off-by: Housam Alamour <halamour@redhat.com>

users/fche/try-pr29472 2023-10-18 18:59:32 UTC
PR29472: debuginfod: add metadata query webapi, C api, client

Author: Frank Ch. Eigler
Author Date: 2023-04-12 03:35:25 UTC

PR29472: debuginfod: add metadata query webapi, C api, client

This patch extends the debuginfod API with a "metadata query"
operation. It allows clients to request an enumeration of file names
known to debuginfod servers, returning a JSON response including the
matching buildids. This lets clients later download debuginfo for a
range of versions of the same named binaries, in case they need to to
prospective work (like systemtap-based live-patching). It also lets
server operators implement prefetch triggering operations for popular
but slow debuginfo slivers like kernel vdso.debug files on fedora.

Implementation requires a modern enough json-c library, namely 0.11,
which dates from 2014. Without that, debuginfod client/server bits
will refuse to build.

% debuginfod-find metadata file /bin/ls
% debuginfod-find metadata glob "/usr/local/bin/c*"

Documentation and testing are included.

Signed-off-by: Ryan Goldberg <rgoldber@redhat.com>
Signed-off-by: Frank Ch. Eigler <fche@redhat.com>

users/halamour/try-pr30000 2023-09-28 14:46:26 UTC
PR 30000: debuginfod-find should have a source-list verb

Author: Housam Alamour
Author Date: 2023-09-07 18:29:19 UTC

PR 30000: debuginfod-find should have a source-list verb

* seclines.cxx: Introduce new tool that compiles a list of source
files associated with a specified dwarf/elf file. This
compilation relies on searching the dwarf debug information,
which can be automatically retrieved via debuginfod using
libdwfl functions when required. The target file can
encompass various types, such as an executable, a coredump,
a running process, or the currently executing kernel. The
source file names are rendered as unique entries and then
displayed on the standard output.

* run-srcfiles-self.sh: New test-case for tool.

https://sourceware.org/bugzilla/show_bug.cgi?id=30000

Signed-off-by: Housam Alamour <halamour@redhat.com>

users/rgoldber/try-bz28204d 2023-08-31 13:39:39 UTC
debuginfod: PR28204 - Minor bug fixes

Author: Ryan Goldberg
Author Date: 2023-08-31 13:39:39 UTC

debuginfod: PR28204 - Minor bug fixes

users/rgoldber/try-pr29472g 2023-08-08 16:10:03 UTC
PR29472: debuginfod: fixed memory leak from json array creation

Author: Ryan Goldberg
Author Date: 2023-08-08 16:10:03 UTC

PR29472: debuginfod: fixed memory leak from json array creation

users/dichen/readelf-Ds 2023-03-27 02:01:05 UTC
readelf: display dynamic symtab without section headers

Author: Di Chen
Author Date: 2023-03-27 02:01:05 UTC

readelf: display dynamic symtab without section headers

This commit adds a new option "-D/--use-dynamic" to support printing the
dynamic symbol table from the PT_DYNAMIC segment. By using the
PT_DYNAMIC segment, eu-readelf can go through the contents of dynamic
section entries and the values of each tag. From that, we can get the
address and size of the dynamic symbol table, the address of the string
table, etc.

By using the new option "-D/--use-dynamic", eu-readelf can list the
symbols without section headers.

Example:
  $ ./src/readelf -Ds a.out
      0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UNDEF
      1: 0000000000000000 0 FUNC GLOBAL DEFAULT UNDEF __libc_start_main@GLIBC_2.34 (2)
      2: 0000000000000000 0 NOTYPE WEAK DEFAULT UNDEF __gmon_start__

https://sourceware.org/bugzilla/show_bug.cgi?id=28873

Signed-off-by: Di Chen <dichen@redhat.com>

users/dichen/readelf-28873 2023-02-10 12:05:32 UTC
readelf: display dynamic symtab without section headers

Author: Di Chen
Author Date: 2023-01-13 12:12:43 UTC

readelf: display dynamic symtab without section headers

This commit adds a new option "-D/--use-dynamic" to support printing the
dynamic symbol table from the PT_DYNAMIC segment. By using the
PT_DYNAMIC segment, eu-readelf can go through the contents of dynamic
section entries and the values of each tag. From that, we can get the
address and size of the dynamic symbol table, the address of the string
table, etc.

By using the new option "-D/--use-dynamic", eu-readelf can list the
symbols without section headers.

Example:
  $ ./src/readelf -Ds a.out
      0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UNDEF
      1: 0000000000000000 0 FUNC GLOBAL DEFAULT UNDEF __libc_start_main@GLIBC_2.34 (2)
      2: 0000000000000000 0 NOTYPE WEAK DEFAULT UNDEF __gmon_start__

https://sourceware.org/bugzilla/show_bug.cgi?id=28873

Signed-off-by: Di Chen <dichen@redhat.com>

users/marxin/try-zstd-support-v2 2022-12-21 11:01:57 UTC
support ZSTD compression algorithm

Author: Martin Liska
Author Date: 2022-11-29 09:59:30 UTC

support ZSTD compression algorithm

users/rgoldber/try-metadata_query 2022-09-02 16:32:16 UTC
PR29472: Fixed test envvar

Author: Ryan Goldberg
Author Date: 2022-09-02 16:32:16 UTC

PR29472: Fixed test envvar

users/marxin/try-PR29474-fix-debuginfod-concurrency 2022-08-15 08:17:08 UTC
debuginfod: Fix concurrent request leading to a same .rpm file [PR29474]

Author: Martin Liska
Author Date: 2022-08-15 07:44:43 UTC

debuginfod: Fix concurrent request leading to a same .rpm file [PR29474]

As explained in detail in the PR, the problem happens when multiple
requests lead to a single RPM and one of the threads does prefetching.
In that case, the requested file is added to fdcache and thus skip
as interned.

users/dichen/try-dwfl-frame-reg 2022-07-29 14:09:37 UTC
libdwfl: Add new function dwfl_frame_reg

Author: Di Chen
Author Date: 2022-07-28 08:31:05 UTC

libdwfl: Add new function dwfl_frame_reg

Dwfl has most of the infrastructure to keep the full unwind state,
including the state of unwound registers per frame using
Dwfl_Thread_Callbacks. But there is no public API to access the state,
except for the PC (dwfl_frame_pc).

This commit adds a new function dwfl_frame_reg to get the value of the
DWARF register number in the given frame.

https://sourceware.org/bugzilla/show_bug.cgi?id=28579

Signed-off-by: Di Chen <dichen@redhat.com>

mjw/RH-DTS 2022-05-10 13:22:32 UTC
Merge tag 'elfutils-0.187' into mjw/RH-DTS

Author: Mark J. Wielaard
Author Date: 2022-05-10 13:22:32 UTC

Merge tag 'elfutils-0.187' into mjw/RH-DTS

elfutils 0.187 release

fche/copr 2020-01-07 15:48:31 UTC
lsb_release -sir on debian produces separate lines

Author: Frank Ch. Eigler
Author Date: 2020-01-07 15:48:31 UTC

lsb_release -sir on debian produces separate lines

dwarflint 2018-02-26 17:46:20 UTC
Explicitly qualify specializations of elfutils::to_string

Author: David Malcolm
Author Date: 2018-02-23 14:54:02 UTC

Explicitly qualify specializations of elfutils::to_string

I attempted to build the "dwarflint" branch with gcc 7.3.1 , but ran
into various problems of the form:

c++/known.cc:220:1: error: explicit specialization of ‘template<class type> std::__cxx11::string elfutils::to_string(const type&)’ outside its namespace must use a nested-name-specifier [-fpermissive]
 to_string<dwarf::dwarf_enum> (const dwarf::dwarf_enum &value)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

The fix appears to be trivial.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>

portable 2015-06-11 11:35:18 UTC
Merge branch 'master' into portable

Author: Mark J. Wielaard
Author Date: 2015-06-11 11:35:18 UTC

Merge branch 'master' into portable

pmachata/iterators 2015-04-17 16:36:29 UTC
Add logical_die_tree_iterator

Author: Petr Machata
Author Date: 2015-04-17 16:36:29 UTC

Add logical_die_tree_iterator

jankratochvil/corepattern 2014-11-26 21:44:18 UTC
Add --core-pattern option to eu-stack

Author: Jan Kratochvil
Author Date: 2014-11-26 21:44:18 UTC

Add --core-pattern option to eu-stack

To backtrace crashed thread from Linux core_pattern handler a special operation
similar to PTRACE_ATTACH needs to be done. This is implemented as a demo in
eu-stack's core_pattern function invoked by eu-stack's --core-pattern option.

The code of core_pattern function has been suggested by Oleg Nesterov.

src/
2014-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>

 * stack.c: Include sys/ptrace.h and sys/wait.h.
 (OPT_CORE_PATTERN, opt_core_pattern, core_pattern): New.
 (parse_opt): Handle OPT_CORE_PATTERN. Check opt_core_pattern option
 validity. Call core_pattern. Pass it as assume_ptrace_stopped.
 (main): Add "core-pattern" to options.

pmachata/macro 2014-11-07 19:15:31 UTC
Make it explicit in comments that dwarf_macro_paramN fetche (N-1)th param

Author: Petr Machata
Author Date: 2014-11-07 19:15:31 UTC

Make it explicit in comments that dwarf_macro_paramN fetche (N-1)th param

jankratochvil/NT_FILE 2014-09-18 16:27:03 UTC
Support note NT_FILE for locating files.

Author: Jan Kratochvil
Author Date: 2014-09-18 16:27:03 UTC

Support note NT_FILE for locating files.

Martin Milata:
------------------------------------------------------------------------------
RFE: dwfl_core_file_report: use NT_FILE core note if the link_map chain is broken
https://bugzilla.redhat.com/show_bug.cgi?id=1129777

The dwfl_core_file_report function follows dynamic linker's link_map chain in
order to determine the shared libraries used by the executable. As this data
structure is located in writable memory it can be overwritten by garbage, which
is sometimes the case.
 https://github.com/abrt/satyr/issues/127#issuecomment-46957546

Since version 3.7 (commit 2aa362c49), Linux kernel adds NT_FILE note to core
files which contains the files mapped by the process, including shared
libraries.
------------------------------------------------------------------------------

dwfl_core_file_report now tries to fall back on NT_FILE if the link_map chain
is broken.

elfutils would already find the appropriate binary file from
/usr/lib/debug/.build-id/ symbolic links. But those symbolic links do not have
to be present on the system while NT_FILE still points to the correct binaries.

Filenames from the note NT_FILE are used only if link_map filenames failed to
locate matching binaries.

tests/test-core.core.bz2 had to have its NT_FILE disabled as run-unstrip-n.sh
otherwise FAILs:
FAIL: 0x7f67f2aaf000+0x202000 - . - /home/jkratoch/redhat/elfutils-libregr/test-core-lib.so
PASS: 0x7f67f2aaf000+0x202000 - . - test-core-lib.so
As test-core-lib.so is found in link_map but it is not present on the disk
elfutils now chooses the more reliable filename from NT_FILE (although that
filename is also not found on the disk). Updating the expected text would be
also sufficient.

libdwfl/
2014-09-18 Jan Kratochvil <jan.kratochvil@redhat.com>

 Support NT_FILE for locating files.
 * core-file.c (dwfl_core_file_report): New variables note_file and
 note_file_size, set them and pass them to dwfl_segment_report_module.
 * dwfl_segment_report_module.c: Include common.h and fcntl.h.
 (buf_has_data, buf_read_ulong, handle_file_note): New functions.
 (invalid_elf): New function from code of dwfl_segment_report_module.
 (dwfl_segment_report_module): Add parameters note_file and
 note_file_size. New variables elf and fd, clean them up in finish.
 Move some code to invalid_elf. Call handle_file_note, if it found
 a name verify the file by invalid_elf. Protect elf and fd against
 cleanup by finish if we found the file for new Dwfl_Module.
 * libdwflP.h (dwfl_segment_report_module): Add parameters note_file and
 note_file_size.

tests/
2014-09-18 Jan Kratochvil <jan.kratochvil@redhat.com>

 Support NT_FILE for locating files.
 * Makefile.am (TESTS): Add run-linkmap-cut.sh.
 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
 linkmap-cut.bz2 and linkmap-cut.core.bz2 .
 * linkmap-cut-lib.so.bz2: New file.
 * linkmap-cut.bz2: New file.
 * linkmap-cut.core.bz2: New file.
 * run-linkmap-cut.sh: New file.
 * test-core.core.bz2: Disable its NT_FILE note.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>

jankratochvil/devmem 2014-02-22 21:05:04 UTC
Access deleted files by /dev/PID/mem.

Author: Jan Kratochvil
Author Date: 2014-02-22 20:06:49 UTC

Access deleted files by /dev/PID/mem.

libdwfl/
2014-02-22 Jan Kratochvil <jan.kratochvil@redhat.com>

 Access deleted files by /dev/PID/mem.
 * dwfl_module.c (dwfl_report_module_pid): New function.
 * dwfl_module_getdwarf.c (open_elf): Call __libdw_open_file_at_offset.
 * libdwfl.h (dwfl_report_module_pid): New declaration.
 * libdwflP.h (struct Dwfl_Module): New field pid.
 (INTDECL (dwfl_report_module_pid)): New.
 * linux-proc-maps.c (proc_maps_report): New variable first_high.
 (proc_maps_report) (report): Possibly call dwfl_report_module_pid.

tests/
2014-02-22 Jan Kratochvil <jan.kratochvil@redhat.com>

 Access deleted files by /dev/PID/mem.
 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so.
 (TESTS, EXTRA_DIST): Add run-deleted.sh.
 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New.
 * deleted-lib.c: New file.
 * deleted.c: New file.
 * run-deleted.sh: New file.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>

robustify 2014-01-05 20:44:53 UTC
Merge branch 'master' into robustify

Author: Mark J. Wielaard
Author Date: 2014-01-05 20:44:53 UTC

Merge branch 'master' into robustify

jankratochvil/cfaloop 2014-01-03 21:06:36 UTC
Detect infinite backtraces.

Author: Jan Kratochvil
Author Date: 2014-01-03 21:06:12 UTC

Detect infinite backtraces.

libdwfl/
2014-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>

 Detect infinite backtraces.
 * dwfl_frame.c (state_alloc): Initialize CFA.
 * frame_unwind.c (expr_eval): Remove parameter frame, add parameter
 elfclass. Move elfclass to handle_cfi. Replace recursive call by
 state->unwound->CFA.
 (new_unwound): Initialize CFA.
 (handle_cfi): Move elfclass here. Compute CFA. Update expr_eval
 caller parameters.
 * libdwflP.h (DWFL_ERRORS): Add UNWIND_BAD_CFA.
 (struct Dwfl_Frame): Add field cfa.

tests/
2014-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>

 * Makefile.am (TESTS): Add run-cfaloop.sh.
 (EXTRA_DIST): Add run-cfaloop.sh, testfilecfaloop.S,
 testfilecfaloop.bz2, testfilecfaloop.c and testfilecfaloop.core.bz2.
 * run-cfaloop.sh: New file.
 * testfilecfaloop.S: New file.
 * testfilecfaloop.bz2: New file.
 * testfilecfaloop.c: New file.
 * testfilecfaloop.core.bz2: New file.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>

jankratochvil/ppc64bidir-unwindppc 2013-12-03 13:06:47 UTC
unwinder: ppc and ppc64

Author: Jan Kratochvil
Author Date: 2013-12-03 13:06:47 UTC

unwinder: ppc and ppc64

backends/
2013-11-10 Jan Kratochvil <jan.kratochvil@redhat.com>

 unwinder: ppc and ppc64
 * Makefile.am (ppc_SRCS, ppc64_SRCS): Add ppc_initreg.c.
 * ppc64_init.c (ppc64_init): Initialize also frame_nregs,
 set_initial_registers_tid and dwarf_to_regno.
 * ppc_corenote.c (PRSTATUS_REGSET_ITEMS) <nip>: Set PC_REGISTER.
 * ppc_init.c (ppc64_init): Initialize also frame_nregs,
 set_initial_registers_tid and dwarf_to_regno.
 * ppc_initreg.c: New file.

libdwfl/
2013-11-10 Jan Kratochvil <jan.kratochvil@redhat.com>

 unwinder: ppc and ppc64
 * frame_unwind.c (__libdwfl_frame_reg_get, __libdwfl_frame_reg_set):
 Call ebl_dwarf_to_regno.
 * linux-core-attach.c (core_set_initial_registers): Implement
 pc_register support.
 * linux-pid-attach.c (pid_thread_state_registers_cb): Implement
 FIRSTREG -1.

libebl/
2013-11-10 Jan Kratochvil <jan.kratochvil@redhat.com>

 unwinder: ppc and ppc64
 * Makefile.am (gen_SOURCES): Add ebldwarftoregno.c.
 * ebl-hooks.h (dwarf_to_regno): New.
 * ebldwarftoregno.c: New file.
 * libebl.h (Ebl_Core_Item): New field pc_register.
 (ebl_tid_registers_t): Add FIRSTREG -1 to the comment.
 (ebl_dwarf_to_regno): New.

tests/
2013-11-10 Jan Kratochvil <jan.kratochvil@redhat.com>

 * Makefile.am (TESTS): Add run-backtrace-core-ppc64.sh and
 run-backtrace-core-ppc.sh.
 (EXTRA_DIST): Add backtrace.ppc.core.bz2,
 backtrace.ppc.exec.bz2, backtrace.ppc64.core.bz2,
 backtrace.ppc64.exec.bz2, run-backtrace-core-ppc64.sh and
 run-backtrace-core-ppc.sh.
 * backtrace.ppc.core.bz2: New file.
 * backtrace.ppc.exec.bz2: New file.
 * backtrace.ppc64.core.bz2: New file.
 * backtrace.ppc64.exec.bz2: New file.
 * run-backtrace-core-ppc.sh: New file.
 * run-backtrace-core-ppc64.sh: New file.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>

jankratochvil/ppc64bidir 2013-12-02 20:57:05 UTC
Provide virtual symbols for ppc64 function descriptors

Author: Jan Kratochvil
Author Date: 2013-11-06 19:38:05 UTC

Provide virtual symbols for ppc64 function descriptors

backends/
2013-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>

 Provide virtual symbols for ppc64 function descriptors.
 * Makefile.am (ppc64_SRCS): Add ppc64_get_symbol.c.
 * ppc64_get_symbol.c: New file.
 * ppc64_init.c (ppc64_init): Install init_symbols, get_symbol and
 destr.

libdwfl/
2013-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>

 * dwfl_module_addrsym.c (dwfl_module_addrsym): Adjust FIRST_GLOBAL also
 for EBL_FIRST_GLOBAL.
 * dwfl_module_getdwarf.c (getsym_helper): New function.
 (find_symtab): Call also ebl_init_symbols.
 (dwfl_module_getsymtab): Count also EBL_SYMENTS.
 * dwfl_module_getsym.c (dwfl_module_getsym_elf): Count also
 EBL_FIRST_GLOBAL, EBL_SYMENTS. Call also ebl_get_symbol.
 * libdwflP.h (DWFL_ERRORS): Add INVALID_INDEX.
 (struct Dwfl_Module): Add fields ebl_syments and ebl_first_global.

libebl/
2013-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>

 Provide virtual symbols for ppc64 function descriptors.
 * Makefile.am (gen_SOURCES): Add eblgetsymbol.c.
 * ebl-hooks.h (init_symbols, get_symbol): New.
 * eblgetsymbol.c: New file.
 * libebl.h (ebl_getsym_t): New definition.
 (ebl_init_symbols, ebl_get_symbol): New declarations.
 * libeblP.h (struct ebl): New field backend.

tests/
2013-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>

 Provide virtual symbols for ppc64 function descriptors.
 * Makefile.am (EXTRA_DIST): Add testfile66.bz2 and testfile66.core.bz2.
 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print
 error on dwfl_module_getsymtab error.
 * run-addrname-test.sh (testfile66, testfile66.core): New tests.
 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko): New
 tests.
 * testfile66.bz2: New file.
 * testfile66.core.bz2: New file.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>

pmachata/aarch64-review 2013-11-25 16:03:40 UTC
Support AArch64 architecture

Author: Petr Machata
Author Date: 2013-11-13 23:32:30 UTC

Support AArch64 architecture

Signed-off-by: Petr Machata <pmachata@redhat.com>

pmachata/RH-DTS 2013-10-17 14:51:49 UTC
Build installable libraries with -fpic, -fvisibility=hidden

Author: Petr Machata
Author Date: 2012-09-06 19:56:49 UTC

Build installable libraries with -fpic, -fvisibility=hidden

The test case has to be changed to look for files with different names.
That because per-target rules cause file renaming in autoconf.

jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86-fddebuginfo-ports 2013-01-30 20:04:08 UTC
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-...

Author: Jan Kratochvil
Author Date: 2013-01-30 20:04:08 UTC

Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86-fddebuginfo' into jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86-fddebuginfo-ports

jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86-fddebuginfo 2013-01-30 20:03:59 UTC
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-...

Author: Jan Kratochvil
Author Date: 2013-01-30 20:03:59 UTC

Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86' into jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86-fddebuginfo

jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86 2013-01-30 20:03:48 UTC
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86'...

Author: Jan Kratochvil
Author Date: 2013-01-30 20:03:48 UTC

Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86' into jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86

jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86 2013-01-30 20:03:07 UTC
.

Author: Jan Kratochvil
Author Date: 2013-01-30 20:03:07 UTC

.

jankratochvil/forunwind-baseaddr-hookvars-corereport 2012-11-16 16:33:09 UTC
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars' into jankratochvil/f...

Author: Jan Kratochvil
Author Date: 2012-11-16 16:33:09 UTC

Merge branch 'jankratochvil/forunwind-baseaddr-hookvars' into jankratochvil/forunwind-baseaddr-hookvars-corereport

mjw/dwarfstrings 2012-08-16 20:26:23 UTC
Add dwarf_endianity_string and dwarf_decimal_sign_string.

Author: Mark J. Wielaard
Author Date: 2012-08-11 12:50:38 UTC

Add dwarf_endianity_string and dwarf_decimal_sign_string.

dwarf_endianity_string for DW_END codes used with DW_AT_endianity.
dwarf_decimal_sign_string for DW_DS codes used with DW_AT_decimal_sign.

Signed-off-by: Mark Wielaard <mjw@redhat.com>

relocate 2012-06-06 10:43:43 UTC
Merge branch 'master' into relocate

Author: Mark J. Wielaard
Author Date: 2012-06-05 21:59:17 UTC

Merge branch 'master' into relocate

Signed-off-by: Richard Fontana <rfontana@redhat.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>

dwarf 2012-06-06 10:29:07 UTC
Update dwarf branch name, license and contributor policy.

Author: Mark J. Wielaard
Author Date: 2012-06-06 10:26:07 UTC

Update dwarf branch name, license and contributor policy.

* Change name from "Red Hat elfutils" to "elfutils".
* Update license of standalone tools and test from GPLv2 to GPLv3+.
* Change license of libraries from GPLv2+exception to GPLv2/LGPLv3+.
* Add Developer Certificate of Origin based contributor policy.

dwarflint:

- All files updated to GPLv3+.

libdw/c++:

- All files updated to GPLv2/LGPLv3+.

src:

- All files updated to GPLv3+. Except dwarf-opcodes.h, dwarfstrings.c
  and dwarfstrings.h, which were meant as library files and have been
  updated to GPLv2/LGPLv3+.

tests:

- All files updated to GPLv3+. Except for the test bz2 data files.

Signed-off-by: Richard Fontana <rfontana@redhat.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>

pmachata/dwarflint 2011-04-19 13:10:06 UTC
dwarflint: ref_record is now template parametrized by locus type

Author: Petr Machata
Author Date: 2011-04-19 13:10:06 UTC

dwarflint: ref_record is now template parametrized by locus type

- the theory being that most of the time all you need to track comes from
  one source
- the upshot is that now the locus::clone and related business can go away

mjw/location-range 2011-03-31 21:37:36 UTC
dwarflint: check_range_out_of_scope only check location of pc_contained_dies.

Author: Mark J. Wielaard
Author Date: 2011-03-31 21:37:36 UTC

dwarflint: check_range_out_of_scope only check location of pc_contained_dies.

mjw/call_site 2011-03-23 12:31:06 UTC
Add support for low-level dwarflint checks for call_site and entry_value.

Author: Mark J. Wielaard
Author Date: 2011-03-23 12:31:06 UTC

Add support for low-level dwarflint checks for call_site and entry_value.

mjw/check_self_referential_die 2011-03-17 11:38:45 UTC
Add check_self_referential_die pass to dwarflint.

Author: Mark J. Wielaard
Author Date: 2011-03-17 11:38:45 UTC

Add check_self_referential_die pass to dwarflint.

mpolacek/autotest 2011-03-11 11:59:29 UTC
Add new ebl_check_st_other_bits function.

Author: Mark J. Wielaard
Author Date: 2011-03-10 12:02:32 UTC

Add new ebl_check_st_other_bits function.

mjw/dwarf_output 2011-02-25 12:50:10 UTC
Merge branch 'dwarf' into mjw/dwarf_output

Author: Mark J. Wielaard
Author Date: 2011-02-25 12:50:10 UTC

Merge branch 'dwarf' into mjw/dwarf_output

pmachata/range_list_iterator_formptr 2011-02-25 11:14:54 UTC
Merge branch 'dwarf' into pmachata/range_list_iterator_formptr

Author: Petr Machata
Author Date: 2011-02-25 11:14:54 UTC

Merge branch 'dwarf' into pmachata/range_list_iterator_formptr

jankratochvil/gdbserver 2011-01-07 14:24:46 UTC
Use TCP_NODELAY (and SO_KEEPALIVE) as suggested by Frank Ch. Eigler.

Author: Jan Kratochvil
Author Date: 2011-01-07 14:24:46 UTC

Use TCP_NODELAY (and SO_KEEPALIVE) as suggested by Frank Ch. Eigler.

roland/relocate-cfi-tmp 2011-01-05 18:54:36 UTC
unfinished cfi relocatable

Author: Roland McGrath
Author Date: 2010-06-29 20:19:26 UTC

unfinished cfi relocatable

roland/dwarf-hacking 2010-10-12 17:48:05 UTC
debugging hacks, not to be merged

Author: Roland McGrath
Author Date: 2010-08-31 08:28:03 UTC

debugging hacks, not to be merged

roland/cfi 2010-06-29 04:53:26 UTC
Merge branch 'master' into roland/cfi

Author: Roland McGrath
Author Date: 2010-06-29 04:53:26 UTC

Merge branch 'master' into roland/cfi

roland/unstrip-buildid-relative 2010-06-16 03:56:30 UTC
Change unstrip -n display of build ID vaddr to be module-relative.

Author: Roland McGrath
Author Date: 2010-06-16 03:56:30 UTC

Change unstrip -n display of build ID vaddr to be module-relative.

roland/parisc_corenote 2010-06-16 03:53:00 UTC
something for parisc, unfinished

Author: Roland McGrath
Author Date: 2010-06-16 03:53:00 UTC

something for parisc, unfinished

roland/arm_corenote 2010-06-16 03:51:54 UTC
something for arm, unfinished

Author: Roland McGrath
Author Date: 2010-06-16 03:51:54 UTC

something for arm, unfinished

roland/elf_clone 2010-06-16 03:45:14 UTC
elf_clone vs ELF_K_AR

Author: Roland McGrath
Author Date: 2010-06-16 03:42:41 UTC

elf_clone vs ELF_K_AR

roland/addrsym_tls 2010-06-16 03:44:43 UTC
unfinished

Author: Roland McGrath
Author Date: 2010-06-16 03:40:59 UTC

unfinished

roland/notes 2010-05-21 00:37:00 UTC
make check ok after merge

Author: Roland McGrath
Author Date: 2010-05-21 00:30:53 UTC

make check ok after merge

roland/is_stmt 2010-02-20 01:02:54 UTC
noodling

Author: Roland McGrath
Author Date: 2010-02-20 01:02:54 UTC

noodling

pmachata/dwfl_core_file_report 2009-11-12 23:38:27 UTC
Load ahead core file chunk only if the area is vaddr-contiguous

Author: Petr Machata
Author Date: 2009-11-12 23:38:27 UTC

Load ahead core file chunk only if the area is vaddr-contiguous

pmachata/dwarf-writer 2009-10-01 16:25:13 UTC
Don't emit base address selection entry when it doesn't change base address

Author: Petr Machata
Author Date: 2009-10-01 16:25:13 UTC

Don't emit base address selection entry when it doesn't change base address

roland/dwarf_output-tracker 2009-08-20 03:59:19 UTC
closest yet

Author: Roland McGrath
Author Date: 2009-08-20 03:59:19 UTC

closest yet

roland/dwarf_output-shape 2009-07-07 10:34:59 UTC
unfinished

Author: Roland McGrath
Author Date: 2009-07-07 10:34:59 UTC

unfinished

roland/parisc 2009-07-07 01:04:52 UTC
Start at parisc backend.

Author: Roland McGrath
Author Date: 2009-07-06 23:41:02 UTC

Start at parisc backend.

roland/dwarf-collector 2009-07-02 08:59:57 UTC
log entries

Author: Roland McGrath
Author Date: 2009-07-02 08:59:57 UTC

log entries

roland/dwarf_edit 2009-07-02 07:57:27 UTC
Merge roland/dwarf-collector, fiddle constructors more.

Author: Roland McGrath
Author Date: 2009-07-02 07:57:27 UTC

Merge roland/dwarf-collector, fiddle constructors more.

roland/tracker 2009-07-02 03:07:16 UTC
Merge branch 'dwarf' into roland/tracker

Author: Roland McGrath
Author Date: 2009-07-02 03:07:16 UTC

Merge branch 'dwarf' into roland/tracker

pmachata/dwarf_output 2009-06-25 22:58:59 UTC
Add stumps to dwarf_output

Author: Petr Machata
Author Date: 2009-06-25 22:58:59 UTC

Add stumps to dwarf_output

roland/unwind 2009-06-25 00:11:33 UTC
Update version set for merging.

Author: Roland McGrath
Author Date: 2009-06-25 00:11:33 UTC

Update version set for merging.

pmachata/reader_hooks 2009-06-16 13:22:04 UTC
Merge branch 'master' of ssh://pmachata@git.fedorahosted.org/git/elfutils int...

Author: Petr Machata
Author Date: 2009-06-16 13:22:04 UTC

Merge branch 'master' of ssh://pmachata@git.fedorahosted.org/git/elfutils into pmachata/reader_hooks

roland/dwarf-macinfo 2009-05-08 01:58:26 UTC
Merge branch 'dwarf' into roland/dwarf-macinfo

Author: Roland McGrath
Author Date: 2009-05-08 01:58:26 UTC

Merge branch 'dwarf' into roland/dwarf-macinfo

pmachata/dwarf 2009-03-26 01:22:00 UTC
Use newly-available --depth from dwarf-print in the test case

Author: Petr Machata
Author Date: 2009-03-26 01:22:00 UTC

Use newly-available --depth from dwarf-print in the test case

pmachata/threads 2008-12-15 14:27:01 UTC
Dump com.redhat.elfutils.pmachata.threads from monotone.

Author: Petr Machata
Author Date: 2008-12-15 14:27:01 UTC

Dump com.redhat.elfutils.pmachata.threads from monotone.

pmachata/sharing 2008-12-15 13:17:39 UTC
Dump com.redhat.elfutils.pmachata.sharing from monotone.

Author: Petr Machata
Author Date: 2008-12-15 13:17:39 UTC

Dump com.redhat.elfutils.pmachata.sharing from monotone.

177 of 77 results
This repository contains Public information 
Everyone can see this information.

Subscribers