summaryrefslogtreecommitdiff
path: root/util/cbfstool/common.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2014-03-04 22:08:05 -0600
committerAaron Durbin <adurbin@google.com>2014-03-13 05:27:54 +0100
commita983cea5b99686b9281893b980d701dd2f1bf35e (patch)
tree1eab838a982914d68b38228e662562ae855b1fd1 /util/cbfstool/common.c
parent0c54bfa0eeda1a84540e95e7dd5c3b4d8b7b5e6e (diff)
downloadcoreboot-a983cea5b99686b9281893b980d701dd2f1bf35e.tar.xz
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>
Diffstat (limited to 'util/cbfstool/common.c')
0 files changed, 0 insertions, 0 deletions