smali
smali copied to clipboard
[feature] Instruction-Bytes per output
An option to allow returning the bytes for instructions used per output would be nice.
Example:
00 nop
12 21 const/4 v1, #int2
0F 00 return v0
see: baksmali help dump
;)
My post was quickly made to align any references regarding trying to add a 'bytes-column' to the JADX project.
OdinVex forgot to mention that baksmali is used as a library and on library level there seems no way to generate the smali code in smaller parts that on class level for adding some sort of mapping between smali code and the offset in the dex file.
offset in the dex file
I'm not really that interested in offsets but rather the actual raw bytes involved in the actual decompiled instruction.
@OdinVex File byte data + offset to instruction in that file = raw bytes of the instruction
@OdinVex File byte data + offset to instruction in that file = raw bytes of the instruction
That's obvious. I was just hoping for an easier "bytes: opcode" output for use in JADX. I hate having to switch between multiple pieces of software to break drivers apart to port Linux.