pecoff4j
pecoff4j copied to clipboard
Solved the problem of can't analysis a series file
When someone put a series flie path into a ArrayList , and then analysis those files with the code " PEParser.parse(arrayList.get(i))" in a for-loop , there will be some error sometime . This is because a code " dd.getLength() " is much biger then what the byte[]("byte[] certificate = new byte[dd.getLength() - 8];") should be . And in this kind of situation,we can't catch the exception.
Is that what other parts of the code do too? Leave "error" behind?
Do you know why it failed in the first place?