小编Xor*_*orr的帖子

C++将字节转换为操作码?

我不确定如何说出这个问题但是,我很想知道汇编程序和其他工具如何显示某些字节的操作码?

std::string BytesToOpcode( __in ::BYTE Bytes );

int main( void )
{
    std::cout << BytesToOpcode( ( ::PBYTE )"\x33\xC0" );
    std::cin.get( );
    return( EXIT_SUCCESS );
};

// I don't know what type soo I'll just set as std::string for an example.
std::string BytesToOpcode( __in ::BYTE Bytes )
{
    // Convert Bytes to opcode??
    return( "" );
};


Output should be:
XOR EAX,EAX
Run Code Online (Sandbox Code Playgroud)

c++ byte opcodes

1
推荐指数
1
解决办法
2298
查看次数

标签 统计

byte ×1

c++ ×1

opcodes ×1