rizinorg / rz-pipe

Access rizin via pipe from any programming language!
33 stars 11 forks source link

Fix #28 - Bad field name #29

Closed wargio closed 2 years ago

wargio commented 2 years ago

This Patch fixes issue #28

the issue was related 2 values: class and cmp.csum. The first one is a keyword for python so i have replaced it with klass The second one, was due the . being in the name, so i have replaced it _

output

X(arch='x86', baddr=4194304, binsz=651424, bintype='pe', bits=32, retguard=False, klass='PE32', cmp_csum='0x000a52d4', compiled='Mon Apr 24 22:38:08 2017 UTC+1', dbg_file='C:\\Builds\\13810\\Tools\\ProcDump_master\\bin\\Win32\\Release\\procdump.pdb', endian='LE', hdr_csum='0x000a52d4', guid='35DC14947AF44564BC0C59336A3D8F741', laddr=0, lang='c', machine='i386', maxopsz=16, minopsz=1, os='windows', overlay=True, cc='cdecl', pcalign=0, signed=True, subsys='Windows CUI', stripped=False, crypto=False, havecode=True, va=True, sanitiz=False, static=False, linenum=False, lsyms=False, canary=False, PIE=True, RELROCS=False, NX=True)