summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kvm_mkdb/nlist.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-2/+2
* Use <fcntl.h> instead of <sys/file.h> for open() and friends.guenther2018-04-261-8/+4
* Use <elf.h> instead of <elf_abi.h>mpi2017-10-271-2/+2
* missing fclose() in an error pathjsg2016-09-101-2/+4
* Remove NULL-checks before free(). ok tb@mmcc2015-12-101-3/+2
* stdlib.h is in scope; do not cast malloc/calloc/realloc*deraadt2015-08-201-2/+2
* do not require <a.out.h>deraadt2015-01-181-2/+1
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-2/+2
* Use errc/warnc to simplify code.guenther2014-05-201-2/+2
* remove the code that iterates over binary types, since everything is nowderaadt2013-11-121-21/+9
* tedu a.out supportderaadt2013-10-151-375/+1
* Correct format string mismatches turned up by -Wformat=2guenther2013-08-221-2/+2
* Allow for a kernel linked at address zero; ok guenther@ millert@miod2013-01-291-3/+4
* iterate over e_shnum using Elf32_Word instead of intderaadt2012-04-061-2/+3
* patch a whole bunch of memory leaks, parfait only spotted one of themderaadt2009-11-111-22/+41
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-9/+1
* use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt2007-09-021-3/+3
* do not use section names for locating a string tab; miod@ okmickey2007-03-181-29/+18
* realloc fixes; markus okderaadt2003-09-251-6/+26
* ansi and protosderaadt2003-06-261-21/+7
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-7/+3
* use snamesize and realloc properly. ok tdeval@tedu2003-04-061-9/+13
* strlcpy; tedu okderaadt2003-04-041-5/+6
* be better about the STT_NOTYPE symbols, not all become N_UNDEF this way; pefo@ okmickey2002-11-301-3/+19
* prepend the underscore always for elf, this makes kvm_bsd.db work on elf platforms; drahn@ millert@ okmickey2002-10-251-11/+6
* fopen() does not return < 0deraadt2002-09-061-3/+3
* minor KNFderaadt2002-05-301-5/+4
* bring in prototypesderaadt2002-03-251-3/+3
* kill more registers.mpech2002-03-141-8/+8
* Fix ELF so it works with /dev/ksyms. Also make 'detection' of ksymspefo2002-02-201-34/+66
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-4/+4
* MAP_COPY -> MAP_SHARED (it's ok in this case (/dev/ksyms))art2001-05-111-3/+3
* ELF: fallback to malloc when mmap fails. for /dev/ksyms.art2001-02-031-7/+27
* Make nlist elf-size independent.art2001-01-251-11/+11
* warnx?/errx? paranoia (use "%s" not a bare string unless it is amillert2000-06-301-3/+3
* Only exit in nlist.c due to a memory error, otherwise just return. A return value of 1 indicates an incorrect executable type, a return value of -1 indicates some other problem. This gives us better fallback from /dev/ksyms to /bsd.millert1999-03-241-61/+91
* back out recently added sanity check for data and bss as ksyms has neithermillert1998-12-191-6/+2
* Blow up a little more verbosely if something's feeding us garbage.downsj1998-11-291-5/+10
* uninitialized variable; hgweigand@wiesbaden.netsurf.demillert1998-10-281-3/+3
* if malloc fails, say how much we tried to allocmillert1998-09-261-5/+6
* o If the user doesn't specify a file, use /dev/ksyms in preference tomillert1998-08-231-34/+23
* oops, remove debugging infomillert1998-08-211-3/+2
* Changes to work with /dev/ksyms:millert1998-08-211-33/+75
* ecoff support, based on libc/gen/nlist.cmillert1998-08-201-4/+132
* clean up our temp files on failuremillert1998-08-191-5/+5
* Make kvm_mkdb work againmillert1998-08-191-26/+38
* use MAP_PRIVATE|MAP_FILE; mrgderaadt1997-12-151-3/+4
* From NetBSD: make testdb() fail if database version string has length zero.millert1997-01-151-2/+7
* comment an #endifderaadt1996-07-311-2/+2
* zmagic/qmagic has kernel offset problem; netbsd pr#2665, leo@marco.de.deraadt1996-07-311-43/+55