I'm writing a handy reverse tool in C++ with manual assembling/disassembling shell, to automate my work!I need an assembler library.Is there any library, embedding in C++?
Automated Assembly/Disassemble library
binary analysis;dynamic analysis
Oleh Yuschuk released a light-weight open-source assembler library that you can download from http://ollydbg.de/srcdescr.htmAssembleFunction Assemble(), as expected, converts command from ASCII  form to binary 32 bit code.Example:  // Assemble one of the commands above. First try form with 32-bit immediate.  pasm=ADD [DWORD 475AE0],1;  printf(%s:\n,pasm);  j=Assemble(pasm,0x400000,&am,0,0,errtext);  n=sprintf(s,%3i  ,j);  for (i=0; i<j; i++) n+=sprintf(s+n,%02X ,am.code[i]);  if (j<=0) sprintf(s+n,  error=\%s\,errtext);  printf(%s\n,s);