Rizin
unix-like reverse engineering framework and cli tools
patch_major_os_version Namespace Reference

Variables

 pe_file_path = sys.argv[1]
 
 b = f.read()
 
 e_lfanew = struct.unpack_from("<I", b, 0x3C)[0]
 
 vb = struct.pack("<HHHHH", 5, 0, 0, 0, 5)
 

Variable Documentation

◆ b

patch_major_os_version.b = f.read()

Definition at line 17 of file patch_major_os_version.py.

◆ e_lfanew

patch_major_os_version.e_lfanew = struct.unpack_from("<I", b, 0x3C)[0]

Definition at line 23 of file patch_major_os_version.py.

Referenced by init_module_runtime_functions().

◆ pe_file_path

patch_major_os_version.pe_file_path = sys.argv[1]

Definition at line 14 of file patch_major_os_version.py.

◆ vb

patch_major_os_version.vb = struct.pack("<HHHHH", 5, 0, 0, 0, 5)