|
|
@ -46,28 +46,29 @@ int main() { |
|
|
|
// }
|
|
|
|
|
|
|
|
// uint32_t sum = 0;
|
|
|
|
// for (uint32_t head = 0; head < 1; ++head) {
|
|
|
|
// auto prefix = (uint64_t)head << 32;
|
|
|
|
// for (uint64_t range = 0; range < 0x100000000; ++range) {
|
|
|
|
// uint64_t code = prefix | range;
|
|
|
|
// if (CommonCode::check(code)) {
|
|
|
|
// printf("%09lX\n", code);
|
|
|
|
for (uint32_t head = 0; head < 16; ++head) { |
|
|
|
auto prefix = (uint64_t)head << 32; |
|
|
|
for (uint64_t range = 0; range < 0x100000000; ++range) { |
|
|
|
uint64_t code = prefix | range; |
|
|
|
if (CommonCode::check(code)) { |
|
|
|
printf("%09lX\n", code); |
|
|
|
// ++sum;
|
|
|
|
// }
|
|
|
|
} |
|
|
|
// if (range % 0x1000000 == 0) {
|
|
|
|
// std::cout << range / 0x1000000 << std::endl;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
} |
|
|
|
} |
|
|
|
// std::cout << "sum: " << sum << std::endl;
|
|
|
|
|
|
|
|
uint64_t error_code = 0x02EFFF7C0; |
|
|
|
// uint64_t error_code = 0x02EFFF7C0;
|
|
|
|
// uint64_t error_code = 0x07B4EFC00;
|
|
|
|
|
|
|
|
if (CommonCode::check(error_code)) { |
|
|
|
std::cout << "true" << std::endl; |
|
|
|
} else { |
|
|
|
std::cout << "false" << std::endl; |
|
|
|
} |
|
|
|
// if (CommonCode::check(error_code)) {
|
|
|
|
// std::cout << "true" << std::endl;
|
|
|
|
// } else {
|
|
|
|
// std::cout << "false" << std::endl;
|
|
|
|
// }
|
|
|
|
|
|
|
|
return 0; |
|
|
|
} |
|
|
|