lucasduffey / binja_smali

12 stars 4 forks source link

parse_FMT32X - seems to be only one with problems #26

Closed lucasduffey closed 8 years ago

lucasduffey commented 8 years ago

parse_FMT32X - seems to be only one with problems

lucasduffey commented 8 years ago

dex_decode = { 0:(0x00,'nop','fmt10x',FMT10X,1), 1:(0x01,'move','fmt12x',FMT12X,1), 2:(0x02,'move/from16','fmt22x',FMT22X,2), 3:(0x03,'move/16','fmt32x',FMT32X,3), # FIXME: is "3" the correct number? 4:(0x04,'move-wide','fmt12x',FMT12X,1), 5:(0x05,'move-wide/from16','fmt22x',FMT22X,2), 6:(0x06,'move-wide/16','fmt32x',FMT32X,3), # FIXME: is "3" the correct number?

lucasduffey commented 8 years ago

the issue was the "Instruction" structure I made. It wasn't matching the dex_decode one.