summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Sofian Brabez [Mon, 1 Jun 2020 15:36:11 +0000 (17:36 +0200)]
Add support for Linux
Sofian Brabez [Mon, 1 Jun 2020 14:56:05 +0000 (16:56 +0200)]
Skip sections which are not PROGBITS
ELF debug sections type are all SHT_PROGBITS so avoid looping on all other
types for nothing
Sofian Brabez [Mon, 1 Jun 2020 14:16:52 +0000 (16:16 +0200)]
Update readme
Sofian Brabez [Mon, 1 Jun 2020 14:04:55 +0000 (16:04 +0200)]
Display output when ATF test case is failing
Sofian Brabez [Mon, 1 Jun 2020 13:59:01 +0000 (15:59 +0200)]
Add arguments flag -q for quiet mode and -v for verbose mode
Quiet mode is not printing any output and verbose mode is listing the
name of the debug sections in standard output.
Quiet mode is designed to be used in shell script like above:
if elfdbg -q /bin/date; then
echo "No symbols"
else
echo "Binary with debug symbols"
fi
Sofian Brabez [Mon, 1 Jun 2020 13:57:27 +0000 (15:57 +0200)]
Error handling when argument file is not ELF object and style(9)
Sofian Brabez [Tue, 19 May 2020 18:25:20 +0000 (20:25 +0200)]
Rewrite ELF parsing from scratch w/o dependency of elf(3) and gelf(3)
In order to make it portable on other Unix operating systems, use ELF
structure definitions and memory mapping to parse the ELF binary.
Sofian Brabez [Thu, 16 Apr 2020 23:25:20 +0000 (01:25 +0200)]
Add tests cases for expected output
Use [kyua](https://github.com/jmmv/kyua) FreeBSD test suite framework to
add elfdbg test cases to cover with symbols and without symbols.
The FreeBSD test suite framework require a Kyuafile and to declare the
AFT test case. Everything is documented in kyua(1), atf(7) and tests(7)
man pages.
Sofian Brabez [Thu, 16 Apr 2020 01:42:12 +0000 (03:42 +0200)]
Add usage and avoid execution when there is no argument
Sofian Brabez [Thu, 16 Apr 2020 01:08:29 +0000 (03:08 +0200)]
Update makefile
We do not to define BINDIR, DESTDIR and library flags should be handed
by LDADD. Also install manpage properly.
Sofian Brabez [Tue, 20 Jan 2015 20:00:00 +0000 (20:00 +0000)]
Format elfdbg source code using clang-format
Sofian Brabez [Tue, 20 Jan 2015 19:43:47 +0000 (19:43 +0000)]
Initial commit