32位汇编一行返回机器码
32位反汇编,
可返回继续的多行汇编代码
for( bin,line in odisasm.eachAsm(/*汇编代码*/) ){
io.print( odisasm.hex(bin),line )
}
for code in odisasm.eachDasm(
'\x55', /*push ebp*/
'\x89\xE5', /*mov ebp,esp*/
){
io.print( code )
}
返回十六进制编码字符串
32位汇编一行返回机器码,汇编代码,下一行汇编代码,
失败返回null,错误信息
_C_BAD=0xF0
_C_CAL=0x70
_C_CMD=0
_C_DANGER=3
_C_DANGER95=1
_C_DANGERLOCK=7
_C_DAT=0xD0
_C_EXPL=1
_C_FLG=0x90
_C_FLT=0x40
_C_JMC=0x60
_C_JMP=0x50
_C_MMX=0x30
_C_NOW=0xE0
_C_POP=0x20
_C_PRI=0xC0
_C_PSH=0x10
_C_RARE=8
_C_REP=0xB0
_C_RET=0x80
_C_RTF=0xA0
_C_SIZEMASK=7
_C_TYPEMASK=0xF0
_DAW_DANGER95=0x1000
_DAW_DANGEROUS=0x3000
_DAW_FARADDR=1
_DAW_IO=8
_DAW_LOCK=0x40
_DAW_PREFIX=0x20
_DAW_PRIV=4
_DAW_SEGMENT=2
_DAW_SHIFT=0x10
_DAW_STACK=0x80
_DECR_3DNOW=0x2D
_DECR_BYTE=0x21
_DECR_DWORD=0x24
_DECR_FLOAT10=0x29
_DECR_ISREG=0x20
_DECR_QWORD=0x28
_DECR_SEG=0x2A
_DECR_TYPEMASK=0x3F
_DECR_WORD=0x22
_DEC_3DNOW=0xD
_DEC_BYTE=1
_DEC_BYTESW=0x11
_DEC_CALLDEST=0x1F
_DEC_CHECKED=0x80
_DEC_COMMAND=0x1D
_DEC_DWORD=4
_DEC_FLOAT10=9
_DEC_FLOAT4=5
_DEC_FLOAT8=7
_DEC_FWORD=6
_DEC_JMPDEST=0x1E
_DEC_NEXTCODE=0x13
_DEC_NEXTDATA=3
_DEC_PBODY=0x40
_DEC_PEND=0x60
_DEC_PROC=0x20
_DEC_PROCMASK=0x60
_DEC_QWORD=8
_DEC_STRING=0xB
_DEC_TBYTE=0xA
_DEC_TYPEMASK=0x1F
_DEC_UNICODE=0xC
_DEC_UNKNOWN=0
_DEC_WORD=2
_DISASM_CODE=4
_DISASM_DATA=1
_DISASM_FILE=3
_DISASM_SIZE=0
_INT3=0xCC
_MAXCALSIZE=8
_MAXCMDSIZE=0x10
_NMODELS=8
_NOP=0x90
_REG_EAX=0
_REG_EBP=5
_REG_EBX=3
_REG_ECX=1
_REG_EDI=7
_REG_EDX=2
_REG_ESI=6
_REG_ESP=4
_SEG_CS=1
_SEG_DS=3
_SEG_ES=0
_SEG_FS=4
_SEG_GS=5
_SEG_SS=2
_SEG_UNDEF=-1
_TRAPFLAG=0x100