Exemple #1
0
 def __init__(self, ubifs_file):
     self.log = log()
     self._file = ubifs_file
     self._sb_node = extract.sb_node(self, UBIFS_COMMON_HDR_SZ)
     self._min_io_size = self._sb_node.min_io_size
     self._leb_size = self._sb_node.leb_size
     self._mst_node = extract.mst_node(self, 1, UBIFS_COMMON_HDR_SZ)
Exemple #2
0
	def __init__(self, ubifs_file):
		self.log = log()
		self._file = ubifs_file
		self._sb_node = extract.sb_node(self, UBIFS_COMMON_HDR_SZ)
		self._min_io_size = self._sb_node.min_io_size
		self._leb_size = self._sb_node.leb_size
		self._mst_node = extract.mst_node(self, 1, UBIFS_COMMON_HDR_SZ)
		self._mst_node = extract.mst_node(self, 2, UBIFS_COMMON_HDR_SZ)