the following patch was just integrated into master: commit f0bdc15503b836a27ef1f4bcd6020540f928f034 Author: Aaron Durbin adurbin@chromium.org Date: Tue Mar 4 22:08:05 2014 -0600
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
See http://review.coreboot.org/5368 for details.
-gerrit