summaryrefslogtreecommitdiff
path: root/util/autoport
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2015-09-19 13:59:36 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-09-21 16:04:22 +0000
commitb946f12ed0c4a4177b64c032f17dd5b3fd2a0c99 (patch)
treedc203662496adc2277079b789ee35b6532ed918f /util/autoport
parent59e52b975e3ffe29709f82e57849ccf8254b9cd1 (diff)
cbfstool: make fmap search more strict
Since fmap doesn't come with a checksum, we resort to a number of heuristics to determine if a given location hosts an fmap (instead of another data structure that happens to store the fmap magic string at the right location). The version test is particularly effective against strings containing the magic (which either terminate with 0, or have some other ASCII data, but rarely a '\001' byte inside the string). Change-Id: Ic66eb0015c7ffdfe25e0054b7838445b8ba098e9 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/11690 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'util/autoport')
0 files changed, 0 insertions, 0 deletions