| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Once we know what the input file is, usually /bsd.gdb, we can unveil it in read
mode. If we also define as argument an output file we can additionally unveil
that one with write/create permissions.
We don't need to care about calling unveil(NULL, NULL) since we can call
pledge(2) and reduce the permissions down the road depending on the code path.
"reads OK" jasper@, "put it in if works" mpi@
prodded by deraadt@
|
|
|
|
|
|
|
|
|
|
| |
This is technically more correct than looking for ".strtab" and allows
us to get rid of unportable ELF_STRTAB.
We can also get rid of the hack for some incorrect ELF files since we
no longer try to apply relocations for the string table.
From Mark Johnston, markj@FreeBSD
|
|
|
|
| |
From Mark Johnston, markj@FreeBSD
|
|
|
|
| |
From Mark Johnston, markj@FreeBSD
|
|
|
|
| |
The former is more portable.
|
|
|
|
|
|
|
| |
symtab and sections. Corrects behaviour that led to crashes found
via afl.
ok mpi@
|
|
|
|
|
|
| |
Based on a diff from jsg@.
Found independently by jsg@ with afl and markj@FreeBSD with a port.
|
|
|
|
|
|
| |
the file. Avoids a crash found with afl.
ok mpi@
|
|
|
|
| |
ok mpi@
|
|
|
|
| |
annotate the ones which are needed.
|
|
|
|
| |
prompted by and ok jmc@
|
|
|
|
| |
feedback/ok mpi@ tb@
|
|
|
|
| |
ok mpi@
|
| |
|
| |
|
| |
|
|
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@
|