We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a10ef7a + 471f9a2 commit 16f1a82Copy full SHA for 16f1a82
analyze.py
@@ -23,7 +23,7 @@ def parseBaseAddrFromArgs(args):
23
return 0
24
25
def parseOepFromArgs(args):
26
- if args.oep is not None:
+ if args.oep and args.oep != '':
27
parsed_oep = int(args.oep, 16) if args.oep.startswith("0x") else int(args.oep)
28
logging.info("using provided OEP(RVA): 0x%08x", parsed_oep)
29
return parsed_oep
0 commit comments