Rizin
unix-like reverse engineering framework and cli tools
create_zip_err_str.py File Reference

Go to the source code of this file.

Namespaces

 create_zip_err_str
 

Functions

def create_zip_err_str.getcomment (x)
 
def create_zip_err_str.def2errstr (x)
 
def create_zip_err_str.def2errdetail (x)
 

Variables

string create_zip_err_str.TEMPLATE
 
 create_zip_err_str.zip_err_str_c = sys.argv[1]
 
 create_zip_err_str.zip_h = sys.argv[2]
 
 create_zip_err_str.zipint_h = sys.argv[3]
 
list create_zip_err_str.defines = [l for l in open(zip_h, 'r').read().split('\n') if l.startswith('#define ZIP_ER')]
 
string create_zip_err_str.zip_err_strs = '\n'.join([def2errstr(x) + ',' for x in defines])
 
string create_zip_err_str.zip_err_details = '\n'.join([def2errdetail(x) + ',' for x in defines])