Skip to content

Commit 3c39df2

Browse files
committed
more debug information for rootfs
1 parent 7bdb244 commit 3c39df2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qiling/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def __init__(
123123
self._ostype = arch_os_convert(self._archtype)
124124
else:
125125
self._ostype = ostype_convert(self._ostype.lower())
126-
126+
127127
if self._code == None:
128128
self._code = "qiling"
129129
if self._argv is None:
@@ -139,7 +139,7 @@ def __init__(
139139
if not os.path.exists(str(self._argv[0])):
140140
raise QlErrorFileNotFound("Target binary not found: %s" %(self._argv[0]))
141141
if not os.path.exists(self._rootfs):
142-
raise QlErrorFileNotFound("Target rootfs not found")
142+
raise QlErrorFileNotFound("Target rootfs not found: %s" %(self._rootfs))
143143

144144
self._path = (str(self._argv[0]))
145145
self._targetname = ntpath.basename(self._argv[0])

0 commit comments

Comments
 (0)