miasm
Reverse engineering framework
sc2pe Namespace Reference

Variables

 parser = ArgumentParser(description="Create a PE from a shellcode")
 
 help
 
 default
 
 choices
 
 type
 
 args = parser.parse_args()
 
 data = open(args.filename, 'rb').read()
 
 pe = pe_init.PE(wsize=args.word_size)
 
 s_text = pe.SHList.add_section(name="text", addr=0x1000, data=data)
 
 AddressOfEntryPoint
 

Variable Documentation

◆ AddressOfEntryPoint

sc2pe.AddressOfEntryPoint

◆ args

sc2pe.args = parser.parse_args()

◆ choices

sc2pe.choices

◆ data

sc2pe.data = open(args.filename, 'rb').read()

◆ default

sc2pe.default

◆ help

sc2pe.help

◆ parser

sc2pe.parser = ArgumentParser(description="Create a PE from a shellcode")

◆ pe

sc2pe.pe = pe_init.PE(wsize=args.word_size)

◆ s_text

sc2pe.s_text = pe.SHList.add_section(name="text", addr=0x1000, data=data)

◆ type

sc2pe.type