Anyone knows anything that can encode an asm string in bytes using c++?

岁酱吖の 提交于 2019-12-08 02:13:47

问题


Anyone knows anything that can encode a string in bytes using c++? asmpure do it on x86. I need something similar on x64

I need to convert strings into hexadecimal bytes i.e.

"mov rdx, rax" => 48 8B D0
"add ax, 17h" => 66 83 C0 17
"sub cl, 5Bh" => 80 E9 5B

回答1:


Problem solved.

For anyone looking for solution here it is: http://www.keystone-engine.org/



来源:https://stackoverflow.com/questions/50465724/anyone-knows-anything-that-can-encode-an-asm-string-in-bytes-using-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!