Merge pull request #424 from vmauge/cpuid_default_value

Set ouput_bit to 0 instead of cast error
This commit is contained in:
Teddy Reed 2014-11-12 23:17:22 -08:00
commit 417bc8d222

View File

@ -73,6 +73,7 @@ Status genVendorString(QueryData& results) {
r["feature"] = "vendor";
r["value"] = vendor_string.str();
r["output_register"] = "ebx,edx,ecx";
r["output_bit"] = "0";
r["input_eax"] = "0";
results.push_back(r);
@ -92,7 +93,7 @@ void genFamily(QueryData& results) {
r["feature"] = "family";
r["value"] = family_string.str();
r["output_register"] = "eax";
r["output_bit"] = "";
r["output_bit"] = "0";
r["input_eax"] = "1";
results.push_back(r);