Rizin
unix-like reverse engineering framework and cli tools
test-lz4-list.VerboseFileInfo Class Reference
Inheritance diagram for test-lz4-list.VerboseFileInfo:

Public Member Functions

def __init__ (self, lines)
 

Public Attributes

 frame_list
 
 file_frame_map
 
 filename
 

Detailed Description

Definition at line 91 of file test-lz4-list.py.

Constructor & Destructor Documentation

◆ __init__()

def test-lz4-list.VerboseFileInfo.__init__ (   self,
  lines 
)

Definition at line 92 of file test-lz4-list.py.

92  def __init__(self, lines):
93  # Parse lines
94  self.frame_list = []
95  self.file_frame_map = []
96  for i, line in enumerate(lines):
97  if i == 0:
98  self.filename = line
99  continue
100  elif i == 1:
101  # Skip header
102  continue
103  frame_info = dict(zip(["frame", "type", "block", "checksum", "compressed", "uncompressed", "ratio"], line.split()))
104  frame_info["line"] = line
105  self.frame_list.append(frame_info)
106 
107 
#define append(x, y)
Definition: cmd_print.c:1740
Definition: zipint.h:278

Member Data Documentation

◆ file_frame_map

test-lz4-list.VerboseFileInfo.file_frame_map

Definition at line 95 of file test-lz4-list.py.

◆ filename

test-lz4-list.VerboseFileInfo.filename

Definition at line 98 of file test-lz4-list.py.

◆ frame_list

test-lz4-list.VerboseFileInfo.frame_list

Definition at line 94 of file test-lz4-list.py.


The documentation for this class was generated from the following file: