Normally crash on it:
Code:
std::string chr1 = "SELECT CharID0 FROM cuenta WHERE User='" + User + "';"; mysql_real_query(nosdb,chr1.c_str(), chr1.length()); mres = mysql_use_result(nosdb); mrow = mysql_fetch_row(mres); mysql_free_result(mres); std::cout << mrow[0] << std::endl;
Code:
str_misaligned:
; simple byte loop until string is aligned
mov al,byte ptr [ecx]
add ecx,1
test al,al
je short byte_3
test ecx,3
jne short str_misaligned
add eax,dword ptr 0 ; 5 byte nop to align label below
align 16 ; should be redundant
Code:
mov al,byte ptr [ecx]






