summaryrefslogtreecommitdiffstats
path: root/usr.bin/ctfconv/parse.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Don't stop parsing functions when variables are declared before arguments.mpi2019-11-071-5/+12
| | | | | Fix argument types of functions containing a static variable when compiled with clang(1).
* Stop remembering the type of local variables.mpi2019-11-071-3/+15
| | | | Fix a shadowing issue reported by procter@.
* Consider integer/float size during base type comparisons.mpi2018-01-311-1/+6
| | | | | | Regression introduced when I added support for merging forward declarations with their corresponding types because they do not have a size.
* Merge type forward declarations with real ones as soon as they are found.mpi2017-10-311-12/+43
|
* Document the use of a rbtree for resolving types inside a single CU.mpi2017-10-281-6/+12
| | | | No functional changes.
* Define nitems() locally and stop including <sys/param.h>mpi2017-10-281-2/+6
|
* Handle parse_base() returning NULL for DW_TAG_base_type to avoidjsg2017-09-241-1/+3
| | | | | attemping to insert a NULL iterator leading to a NULL deref crash. Found with afl. ok mpi@
* Ignore DW_FORM_strp with size larger than elf section bufferjsg2017-09-241-2/+6
| | | | | fixes accessing memory out of bounds that led to a segfault. Found with afl. ok mpi@
* quarterly rescan of the tree: remove unneccessary sys/param.h, andderaadt2017-08-291-3/+3
| | | | annotate the ones which are needed.
* Fix nested declaration inside union or struct.mpi2017-08-111-1/+11
|
* Do not insert random name for anonymous member.mpi2017-08-111-7/+15
|
* add rcs idsjasper2017-08-111-0/+2
|
* Import a tool for generating CTF data section (SUNW_ctf) based on DWARFmpi2017-08-111-0/+1308
information. ctfconv(1) support multiple CUs in order to work on binaries. ctfstrip(1) works like strip(1) but also insert a .SUNW_ctf section inside a binary. ok deraadt@, kettenis@, jasper@