Go to file
Arnaldo Carvalho de Melo 49f590e3b9 libctf: Adopt ctf__string from ctf_loader.c
The ctf_loader.c file should be a direct counterpart to dwarf_loader,
that is, it should have just use what is in libctf to decode the CTF
sections and convert it to the core format in dwarves.[ch].

Also introduce a ctf__string32 for the very common idiom:

ctf_string(ctf__get32(sp->ctf, &tp->base.ctf_name), sp);

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2009-03-24 17:13:40 -03:00
cmake/modules cmake: check if in RHEL and ask for the same packages as in fedora if so 2008-11-20 13:55:05 -02:00
lib [LICENSE]: Add COPYING file and add missing license info on some files 2007-12-17 14:15:42 -02:00
man-pages pahole: Remove a not needed "the" article in the man page. 2009-03-23 16:53:54 -03:00
ostra [OSTRA]: Change ostra-cg license to GPLv2 2007-12-24 12:25:17 -02:00
rpm/SPECS rpm: Own %{_datadir}/dwarves/ 2009-02-16 11:04:49 -03:00
CMakeLists.txt elf_symtab: Introduce elf_symtab 2009-03-24 16:58:44 -03:00
COPYING [LICENSE]: Add COPYING file and add missing license info on some files 2007-12-17 14:15:42 -02:00
MANIFEST pahole: finally the beginnings of a man page 2009-02-11 12:19:46 -02:00
NEWS [NEWS]: Update entry about the --separator new option 2007-05-23 16:27:33 -03:00
README [CMAKE]: Make the default install prefix be /usr/local 2007-04-19 18:01:47 -03:00
README.ctracer ctracer: update README.ctracer, f9 has the dwarves 2008-10-29 08:54:53 -02:00
codiff.c core: Rename {cus,dwarf,ctf}__load to {cus,dwarf,ctf}__load_file 2009-03-24 16:48:41 -03:00
config.h.cmake [DWARVES] Fixes a FIXME relating to a missing elf (libdw) symbol check. 2008-02-12 21:08:49 -02:00
ctf.h libctf: Use the same coding style as the dwarves 2008-09-25 16:01:26 -03:00
ctf_encoder.c ctf_encoder: Allow encoding a bit_size in enumeration types 2009-03-20 12:51:30 -03:00
ctf_encoder.h ctf: Include the initial implementation of a ctf encoder 2009-03-19 12:16:07 -03:00
ctf_loader.c libctf: Adopt ctf__string from ctf_loader.c 2009-03-24 17:13:40 -03:00
ctf_loader.h core: Rename {cus,dwarf,ctf}__load to {cus,dwarf,ctf}__load_file 2009-03-24 16:48:41 -03:00
ctfdwdiff ctfdwdiff: allow specifying just one file again 2009-03-22 13:06:41 -03:00
ctracer.c core: Rename {cus,dwarf,ctf}__load to {cus,dwarf,ctf}__load_file 2009-03-24 16:48:41 -03:00
dtagnames.c coding style: remove trailing whitespaces, etc 2009-03-14 13:50:36 -03:00
dutil.c dutil: Move elf_section_by_name to dutil 2009-03-24 16:56:19 -03:00
dutil.h dutil: Move elf_section_by_name to dutil 2009-03-24 16:56:19 -03:00
dwarf_loader.c core: Rename {cus,dwarf,ctf}__load to {cus,dwarf,ctf}__load_file 2009-03-24 16:48:41 -03:00
dwarf_loader.h core: Rename {cus,dwarf,ctf}__load to {cus,dwarf,ctf}__load_file 2009-03-24 16:48:41 -03:00
dwarves.c core: Rename {cus,dwarf,ctf}__load to {cus,dwarf,ctf}__load_file 2009-03-24 16:48:41 -03:00
dwarves.h core: Rename {cus,dwarf,ctf}__load to {cus,dwarf,ctf}__load_file 2009-03-24 16:48:41 -03:00
dwarves_emit.c cu: Rename cu__find_{type,tag}_by_id to cu__{type,tag} 2009-03-18 12:17:07 -03:00
dwarves_emit.h coding style: remove trailing whitespaces, etc 2009-03-14 13:50:36 -03:00
dwarves_reorganize.c cu: Rename cu__find_{type,tag}_by_id to cu__{type,tag} 2009-03-18 12:17:07 -03:00
dwarves_reorganize.h class_member: cache the byte size of the member 2009-03-17 14:31:18 -03:00
elf_symtab.c elf_symtab: Introduce elf_symtab 2009-03-24 16:58:44 -03:00
elf_symtab.h elf_symtab: Introduce elf_symtab 2009-03-24 16:58:44 -03:00
gobuffer.c gobuffer: Introduce gobuffer__allocate 2009-03-18 22:14:55 -03:00
gobuffer.h gobuffer: Introduce gobuffer__allocate 2009-03-18 22:14:55 -03:00
hash.h [DWARVES]: Use a hash table for the tags in a CU 2008-02-11 11:47:17 -02:00
libctf.c libctf: Adopt ctf__string from ctf_loader.c 2009-03-24 17:13:40 -03:00
libctf.h libctf: Adopt ctf__string from ctf_loader.c 2009-03-24 17:13:40 -03:00
list.h coding style: remove trailing whitespaces, etc 2009-03-14 13:50:36 -03:00
pahole.c pahole: don't print private members inside types when using show_private_classes 2009-03-20 14:13:40 -03:00
pdwtags.c pdwtags: Use conf_load.stealer 2009-03-23 14:22:23 -03:00
pfunct.c pfunct: Add --format_path/-F as in pahole 2009-03-24 16:39:14 -03:00
pglobal.c dwarves: the variable abstract_origin is resolved at load time too 2009-03-14 15:19:33 -03:00
prefcnt.c cu: Rename cu__find_{type,tag}_by_id to cu__{type,tag} 2009-03-18 12:17:07 -03:00
strings.c strings: Allow calling strings__delete with a NULL pointer 2009-03-20 10:35:57 -03:00
strings.h coding style: remove trailing whitespaces, etc 2009-03-14 13:50:36 -03:00
syscse.c cu: Rename cu__find_{type,tag}_by_id to cu__{type,tag} 2009-03-18 12:17:07 -03:00

README

Build instructions:

1. install cmake
2. mkdir build
3. cd build
4. cmake -D__LIB=lib ..
5. make install

Default is to be installed on /usr/local, see rpm spec file for
installing on other places.

Known to work scenarios:

Mandriva Cooker:

cmake 2.4.5-1mdv2007.1
libelfutils1-devel 0.123-1mdv2007.1

Debian Unstable:

cmake 2.4.5-1
libdw-dev 0.123-2

Fedora Core 6:

cmake 2.4.5-2.fc6
elfutils-devel 0.126-1.fc6