diff options
author | Aaron Durbin <adurbin@chromium.org> | 2014-03-04 22:08:05 -0600 |
---|---|---|
committer | Aaron Durbin <adurbin@google.com> | 2014-03-13 05:27:54 +0100 |
commit | a983cea5b99686b9281893b980d701dd2f1bf35e (patch) | |
tree | 1eab838a982914d68b38228e662562ae855b1fd1 /util/msrtool | |
parent | 0c54bfa0eeda1a84540e95e7dd5c3b4d8b7b5e6e (diff) |
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/msrtool')
0 files changed, 0 insertions, 0 deletions