问题
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