binutils-gdb/libctf
Nick Alcock 1f2e8b5b87 libctf: add SHA-1 support for libctf
This very thin abstraction layer provides SHA-1ing facilities to all of
libctf, almost all inlined wrappers around the libiberty functionality
other than ctf_sha1_fini.

The deduplicator will use this to recursively hash types to prove their
identity.

libctf/
	* ctf-sha1.h: New, inline wrappers around sha1_init_ctx and
	sha1_process_bytes.
	* ctf-impl.h: Include it.
	(ctf_sha1_init): New.
	(ctf_sha1_add): Likewise.
	(ctf_sha1_fini): Likewise.
	* ctf-sha1.c: New, non-inline wrapper around sha1_finish_ctx
	producing strings.
	* Makefile.am: Add file.
	* Makefile.in: Regenerate.
2020-07-22 18:02:18 +01:00
..
.gitignore libctf: restructure error handling to reduce relocations 2020-07-22 17:57:20 +01:00
aclocal.m4 libctf: support platforms with separate libintl 2020-06-26 15:56:39 +01:00
ChangeLog libctf: add SHA-1 support for libctf 2020-07-22 18:02:18 +01:00
config.h.in libctf: check for vasprintf 2020-07-22 18:02:18 +01:00
configure libctf: check for vasprintf 2020-07-22 18:02:18 +01:00
configure.ac libctf: check for vasprintf 2020-07-22 18:02:18 +01:00
ctf-archive.c libctf, archive: fix bad error message 2020-07-22 18:02:18 +01:00
ctf-create.c libctf, link: add the ability to filter out variables from the link 2020-07-22 18:02:18 +01:00
ctf-decl.c libctf, decl: avoid leaks of the formatted string on error 2020-07-22 18:02:17 +01:00
ctf-decls.h libctf: pass the thunk down properly when wrapping qsort_r 2020-07-22 17:57:52 +01:00
ctf-dump.c libctf, dump: fix slice dumping 2020-07-22 18:02:18 +01:00
ctf-endian.h Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-error.c libctf: drop error-prone ctf_strerror 2020-07-22 18:02:18 +01:00
ctf-hash.c libctf: rename the type_mapping_key to type_key 2020-07-22 18:02:18 +01:00
ctf-impl.h libctf: add SHA-1 support for libctf 2020-07-22 18:02:18 +01:00
ctf-inlines.h libctf, ld, binutils: add textual error/warning reporting for libctf 2020-07-22 18:02:17 +01:00
ctf-labels.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-link.c libctf, link: add the ability to filter out variables from the link 2020-07-22 18:02:18 +01:00
ctf-lookup.c libctf, next: introduce new class of easier-to-use iterators 2020-07-22 17:57:50 +01:00
ctf-open-bfd.c libctf, open: fix opening CTF in binaries with no symtab 2020-07-22 18:02:18 +01:00
ctf-open.c libctf, link: redo cu-mapping handling 2020-07-22 18:02:18 +01:00
ctf-qsort_r.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-sha1.c libctf: add SHA-1 support for libctf 2020-07-22 18:02:18 +01:00
ctf-sha1.h libctf: add SHA-1 support for libctf 2020-07-22 18:02:18 +01:00
ctf-string.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-subr.c libctf: drop error-prone ctf_strerror 2020-07-22 18:02:18 +01:00
ctf-types.c libctf, types: enhance ctf_type_aname to print function arg types 2020-07-22 18:02:17 +01:00
ctf-util.c libctf, next, hash: add dynhash and dynset _next iteration 2020-07-22 17:57:51 +01:00
elf.h Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
libctf.ver libctf, link: add the ability to filter out variables from the link 2020-07-22 18:02:18 +01:00
Makefile.am libctf: add SHA-1 support for libctf 2020-07-22 18:02:18 +01:00
Makefile.in libctf: add SHA-1 support for libctf 2020-07-22 18:02:18 +01:00
mkerrors.sed libctf: restructure error handling to reduce relocations 2020-07-22 17:57:20 +01:00
swap.h libctf, elfcpp, gold: do not assume that <byteswap.h> contains bswap_* 2020-06-26 15:56:39 +01:00