You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately that can't easily be moved, as the interactive shell can only start once the unicorn engine has been initialized. This is because otherwise we can't give the user the option to do basically anything before starting the emulation, like inspecting/modifying registers and memory.
Without having tried it yet, I suspect the main part that takes a long time is the pefile loading, as we have already seen several samples that pefile can't handle quickly or even at all. Having a custom PE loader that is more robust has already been on our roadmap for quite some time, but until we have this, I think there is no real way around this issue rather than maybe using a new thread when you create the UnpackerEngine object.
Hello!
unipacker/unipacker/core.py
Lines 152 to 155 in 37724cc
In our test, init_uc can take a really long time for certain file that is intentionally made large e.g.
https://bazaar.abuse.ch/sample/c92af6007b3c7f48e9c18d73dd99d889dd08dbccfe12c346724a149ba483ec2c/
So we can't set timeout on this function. Can we move the call for
init_uc
toengine.emu
?The text was updated successfully, but these errors were encountered: