enhancementhelp wanted
Repository metrics
- Stars
- (5 stars)
- PR merge metrics
- (PR metrics pending)
Description
I think you'd better add more check on the buffer, includes but not limited to:
- The buffer length should be at least 0x80 bytes, which is the minimum DOS stub of a modern PE file.
- Use DataView.getUint32(0x3C) to get a point say P, and use DataView.getUint32(P) to get the PE signature, and check whether it is 0x50450000.