dissect.qnxfs 0.1.dev3__tar.gz → 1.1.dev1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dissect_qnxfs-0.1.dev3/dissect.qnxfs.egg-info → dissect_qnxfs-1.1.dev1}/PKG-INFO +1 -1
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect/qnxfs/qnx4.py +6 -6
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect/qnxfs/qnx6.py +6 -6
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1/dissect.qnxfs.egg-info}/PKG-INFO +1 -1
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/tests/_docs/Makefile +1 -1
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/tests/_docs/conf.py +5 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/COPYRIGHT +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/LICENSE +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/MANIFEST.in +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/README.md +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect/qnxfs/__init__.py +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect/qnxfs/c_qnx4.py +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect/qnxfs/c_qnx4.pyi +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect/qnxfs/c_qnx6.py +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect/qnxfs/c_qnx6.pyi +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect/qnxfs/exceptions.py +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect/qnxfs/qnxfs.py +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect.qnxfs.egg-info/SOURCES.txt +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect.qnxfs.egg-info/dependency_links.txt +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect.qnxfs.egg-info/requires.txt +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect.qnxfs.egg-info/top_level.txt +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/pyproject.toml +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/setup.cfg +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/tests/__init__.py +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/tests/_data/qnx4.bin.gz +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/tests/_data/qnx6-be.bin.gz +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/tests/_data/qnx6-le.bin.gz +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/tests/_docs/index.rst +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/tests/conftest.py +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/tests/test_exceptions.py +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/tests/test_qnx.py +0 -0
- {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/tox.ini +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dissect.qnxfs
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1.1.dev1
|
|
4
4
|
Summary: A Dissect module implementing a parser for the QNX4 and QNX6 file systems, commonly used in the QNX RTOS.
|
|
5
5
|
Author-email: Dissect Team <dissect@fox-it.com>
|
|
6
6
|
License: Affero General Public License v3
|
|
@@ -42,15 +42,15 @@ class QNX4:
|
|
|
42
42
|
|
|
43
43
|
self.root = self.inode(c_qnx4.QNX4_ROOT_INO * c_qnx4.QNX4_INODES_PER_BLOCK)
|
|
44
44
|
|
|
45
|
-
def inode(self, inum: int) ->
|
|
45
|
+
def inode(self, inum: int) -> INode4:
|
|
46
46
|
"""Return an inode object for the given inode number.
|
|
47
47
|
|
|
48
48
|
Args:
|
|
49
49
|
inum: The inode number.
|
|
50
50
|
"""
|
|
51
|
-
return
|
|
51
|
+
return INode4(self, inum)
|
|
52
52
|
|
|
53
|
-
def get(self, path: str | int, node:
|
|
53
|
+
def get(self, path: str | int, node: INode4 | None = None) -> INode4:
|
|
54
54
|
"""Return an inode object for the given path or inode number.
|
|
55
55
|
|
|
56
56
|
Args:
|
|
@@ -83,7 +83,7 @@ class QNX4:
|
|
|
83
83
|
return node
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class INode4:
|
|
87
87
|
def __init__(self, fs: QNX4, inum: int):
|
|
88
88
|
self.fs = fs
|
|
89
89
|
self.inum = inum
|
|
@@ -205,11 +205,11 @@ class INode:
|
|
|
205
205
|
"""Return whether this inode is an IPC file."""
|
|
206
206
|
return self.is_fifo() or self.is_socket()
|
|
207
207
|
|
|
208
|
-
def listdir(self) -> dict[str,
|
|
208
|
+
def listdir(self) -> dict[str, INode4]:
|
|
209
209
|
"""Return a directory listing."""
|
|
210
210
|
return dict(self.iterdir())
|
|
211
211
|
|
|
212
|
-
def iterdir(self) -> Iterator[tuple[str,
|
|
212
|
+
def iterdir(self) -> Iterator[tuple[str, INode4]]:
|
|
213
213
|
"""Iterate directory contents."""
|
|
214
214
|
if not self.is_dir():
|
|
215
215
|
raise NotADirectoryError(f"{self!r} is not a directory")
|
|
@@ -74,15 +74,15 @@ class QNX6:
|
|
|
74
74
|
|
|
75
75
|
self.root = self.inode(c_qnx6.QNX6_ROOT_INO)
|
|
76
76
|
|
|
77
|
-
def inode(self, inum: int) ->
|
|
77
|
+
def inode(self, inum: int) -> INode6:
|
|
78
78
|
"""Return an inode object for the given inode number.
|
|
79
79
|
|
|
80
80
|
Args:
|
|
81
81
|
inum: The inode number.
|
|
82
82
|
"""
|
|
83
|
-
return
|
|
83
|
+
return INode6(self, inum)
|
|
84
84
|
|
|
85
|
-
def get(self, path: str | int, node:
|
|
85
|
+
def get(self, path: str | int, node: INode6 | None = None) -> INode6:
|
|
86
86
|
"""Return an inode object for the given path or inode number.
|
|
87
87
|
|
|
88
88
|
Args:
|
|
@@ -115,7 +115,7 @@ class QNX6:
|
|
|
115
115
|
return node
|
|
116
116
|
|
|
117
117
|
|
|
118
|
-
class
|
|
118
|
+
class INode6:
|
|
119
119
|
def __init__(self, fs: QNX6, inum: int):
|
|
120
120
|
self.fs = fs
|
|
121
121
|
self.inum = inum
|
|
@@ -222,11 +222,11 @@ class INode:
|
|
|
222
222
|
"""Return whether this inode is an IPC file."""
|
|
223
223
|
return self.is_fifo() or self.is_socket()
|
|
224
224
|
|
|
225
|
-
def listdir(self) -> dict[str,
|
|
225
|
+
def listdir(self) -> dict[str, INode6]:
|
|
226
226
|
"""Return a directory listing."""
|
|
227
227
|
return dict(self.iterdir())
|
|
228
228
|
|
|
229
|
-
def iterdir(self) -> Iterator[tuple[str,
|
|
229
|
+
def iterdir(self) -> Iterator[tuple[str, INode6]]:
|
|
230
230
|
"""Iterate directory contents."""
|
|
231
231
|
if not self.is_dir():
|
|
232
232
|
raise NotADirectoryError(f"{self!r} is not a directory")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dissect.qnxfs
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1.1.dev1
|
|
4
4
|
Summary: A Dissect module implementing a parser for the QNX4 and QNX6 file systems, commonly used in the QNX RTOS.
|
|
5
5
|
Author-email: Dissect Team <dissect@fox-it.com>
|
|
6
6
|
License: Affero General Public License v3
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect.qnxfs.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|