image: Unconditionally parse PE/COFF data

Rather than requiring an explicit image_pecoff_parse, do it
unconditionally in image_load. We don't have any instances where we need
to do this separately.

Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
This commit is contained in:
Jeremy Kerr 2012-06-13 17:39:34 +08:00
parent 186f1d59d9
commit 376974e386
5 changed files with 51 additions and 52 deletions

View file

@ -166,8 +166,6 @@ int main(int argc, char **argv)
talloc_steal(ctx, ctx->image);
image_pecoff_parse(ctx->image);
image_find_regions(ctx->image);
ERR_load_crypto_strings();