Open LRGH opened 7 years ago
Hi,
Thanks for the PR. Regarding the implementation, Container.from_stream
is actually taking an optional argument addr
. To quote the associated docstring: "Base address for the binary. If set, force the unknown format".
It does seems to match what you're looking for.
In addition, I'm not sure to see interest of shifting the mapping of a ELF or PE file. So, the fact that -m
use will force the ContainerRaw
is fine to me.
Thanks. I have updated my patch to use this option of Container.from_stream
.
I should have included non-regression tests for
sibyl func
but I don't know how we are expected to include tests for PE files, which cannot be easily created by compilation on Travis CI virtual machines.