[PATCH] COFFObjectFile imports fix for compressed binaries

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 6 19:12:00 PDT 2016

Can you actually strip a lookup table safely? I thought that both tables
are defined as parallel arrays, and both are mandatory if one is present.

On Thu, Jun 30, 2016 at 8:39 AM, Bandzi Michal via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> COFFObjectFile import iterators do not work for some compressed binaries.
> Before loading, binary contains two identical structures containing
> imports: Look-up Table and Address Table. LLVM uses only Look-up
> table which is often stripped by packers due to its redundancy.
> Proposed solution in patch (attachment) adds Address Table as
> fall-back option to read imports in case Look-up Table does not exist.
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160706/22bf9718/attachment.html>

More information about the llvm-commits mailing list