mirror of
https://sourceware.org/git/elfutils.git
synced 2025-12-15 22:26:20 +00:00
No description
This test itself isn't super interesting, it just checks that all Elf_Types are handled by gelf_fsize and that the 32 vs 64 variant sizes make sense. The interesting part is that it uses the internal interface (__libelf_type_sizes) to do it. So you don't have to contruct a whole Elf handle. It mimics the support for "main checks" in libdw. It adds a way to compile an individual source file with an optional main function that can directly access the internal/static functions. To add new main check tests you have to add an #ifdef MAIN_CHECK with a main function that calls the test functions to the source file. And add two make file rules after .SECONDEXPANSION. One starting with <source_basename>_checks$(EXEEXT) and one starting with nodist_<source_basename>_check_SOURCES. * libelf/gelf_fsize.c: Add MAIN_CHECK part. * libelf/Makefile.am: Add gelf_fsize main check rules. Signed-off-by: Mark Wielaard <mark@klomp.org> |
||
|---|---|---|
| backends | ||
| config | ||
| debuginfod | ||
| doc | ||
| lib | ||
| libasm | ||
| libcpu | ||
| libdw | ||
| libdwelf | ||
| libdwfl | ||
| libdwfl_stacktrace | ||
| libebl | ||
| libelf | ||
| m4 | ||
| po | ||
| src | ||
| tests | ||
| .gitignore | ||
| .mailmap | ||
| AUTHORS | ||
| AUTHORS.sh | ||
| ChangeLog | ||
| CONDUCT | ||
| configure.ac | ||
| CONTRIBUTING | ||
| COPYING | ||
| COPYING-GPLV2 | ||
| COPYING-LGPLV3 | ||
| GPG-KEY | ||
| Makefile.am | ||
| NEWS | ||
| NOTES | ||
| README | ||
| SECURITY | ||
| THANKS | ||
| TODO | ||
The elfutils project provides libraries and tools for ELF files and DWARF data. The project home is http://elfutils.org/ Releases are published at ftp://sourceware.org/pub/elfutils/ Which can also be found at https://sourceware.org/elfutils/ftp/ To build a release do: ./configure && make && make check Please check the configure summary to make sure all recommended features are enabled. There should be no failures after make check. Please reports bugs at https://sourceware.org/bugzilla/ The current elfutils source code can be checked out with git clone git://sourceware.org/git/elfutils.git To build a git checkout do: autoreconf -i -f && \ ./configure --enable-maintainer-mode && \ make && make check The developer mailinglist to send patches to is elfutils-devel@sourceware.org. https://sourceware.org/ml/elfutils-devel/ To subscribe send an email to elfutils-devel-subscribe@sourceware.org Or use the form at https://sourceware.org/mailman/listinfo/elfutils-devel See the CONTRIBUTING file for how to propose patches to the code. See the NOTES files for some design decisions and notes. See the SECURITY file for defining and handling security-sensitive bugs.