coreboot-kgpe-d16/util/cbfstool
Aaron Durbin a983cea5b9 cbfstool: elfheaders: use common checks and buffer helpers
The elfheaders code was manipulating struct buffers. Use
the introduced buffer helper functions. Additionally fix
up offset and size checks for the program headers and section
headers by using common code paths.

Change-Id: I279c77f77aaa1860a0be43fb111df890dd1d84d5
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/5368
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Marc Jones <marc.jones@se-eng.com>
2014-03-13 05:27:54 +01:00
..
lzma cbfstool/lzma: Remove dead code under #ifdefs 2014-03-02 05:14:30 +01:00
cbfs-mkpayload.c Change the linux payload generator to use the standard header generator 2014-02-05 01:00:34 +01:00
cbfs-mkstage.c cbfstool: Eliminate global variable "arch" 2014-02-04 19:37:48 +01:00
cbfs-payload-linux.c Change the linux payload generator to use the standard header generator 2014-02-05 01:00:34 +01:00
cbfs.h Add an xdr function for the cbfs_file header 2014-02-05 06:50:41 +01:00
cbfs_image.c cbfstool: Deserialize CBFS master header when reading image 2014-02-11 20:14:39 +01:00
cbfs_image.h cbfstool: Deserialize CBFS master header when reading image 2014-02-11 20:14:39 +01:00
cbfstool.c cbfstool: move verbose to common.c 2014-03-11 19:42:30 +01:00
coff.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
common.c cbfstool: move verbose to common.c 2014-03-11 19:42:30 +01:00
common.h cbfstool: add struct buffer helper routines 2014-03-11 19:46:45 +01:00
compress.c cbfs: fix issues with word size and endianness. 2014-01-29 20:03:44 +01:00
elf.h cbfstool: add a constant for the aarch64 2013-11-18 16:58:58 +01:00
elfheaders.c cbfstool: elfheaders: use common checks and buffer helpers 2014-03-13 05:27:54 +01:00
EXAMPLE cbfstool: Update example file. 2013-02-04 11:12:15 +01:00
fit.c Add an xdr function for the cbfs_file header 2014-02-05 06:50:41 +01:00
fit.h cbfstool: Add update-fit command 2013-03-27 01:25:12 +01:00
fv.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
linux.h Add a (b)zImage parser to cbfstool 2013-08-31 08:58:34 +02:00
linux_trampoline.c cbfstool: Fix build errors when building with clang 2014-02-10 05:43:56 +01:00
Makefile cbfstool/lzma: Remove dead code under #ifdefs 2014-03-02 05:14:30 +01:00
Makefile.inc cbfstool/lzma: Remove dead code under #ifdefs 2014-03-02 05:14:30 +01:00
swab.h Various fixes to cbfstool. 2011-10-24 20:29:29 +02:00
xdr.c cbfstool: add bputs() to store a byte stream to a buffer 2014-03-11 19:43:17 +01:00