mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-05 04:56:10 +00:00
Fix mz check
This commit is contained in:
parent
7ddcd86400
commit
7bd47e5a04
@ -42,6 +42,8 @@ static int check_bytes(const ut8 *buf, ut64 length) {
|
||||
!memcmp (buf + exth_offset, "NE", 2) ||
|
||||
!memcmp (buf + exth_offset, "LE", 2) ||
|
||||
!memcmp (buf + exth_offset, "LX", 2) ) {
|
||||
ret = false;
|
||||
} else {
|
||||
if (checkEntrypoint (buf, length)) {
|
||||
/* raw plain MZ executable (watcom) */
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user