Lines Matching refs:cpu_state_raw
304 std::vector<uint8_t> cpu_state_raw = ParseHexBuf(cpu_state_str); in Microdump() local
306 if (cpu_state_raw.size() != sizeof(MDRawContextARM)) { in Microdump()
307 std::cerr << "Malformed CPU context. Got " << cpu_state_raw.size() in Microdump()
313 memcpy(arm, &cpu_state_raw[0], cpu_state_raw.size()); in Microdump()
316 if (cpu_state_raw.size() == sizeof(MDRawContextARM64)) { in Microdump()
318 memcpy(arm, &cpu_state_raw[0], cpu_state_raw.size()); in Microdump()
320 } else if (cpu_state_raw.size() == sizeof(MDRawContextARM64_Old)) { in Microdump()
322 memcpy(&old_arm, &cpu_state_raw[0], cpu_state_raw.size()); in Microdump()
327 std::cerr << "Malformed CPU context. Got " << cpu_state_raw.size() in Microdump()
333 if (cpu_state_raw.size() != sizeof(MDRawContextX86)) { in Microdump()
334 std::cerr << "Malformed CPU context. Got " << cpu_state_raw.size() in Microdump()
340 memcpy(x86, &cpu_state_raw[0], cpu_state_raw.size()); in Microdump()
343 if (cpu_state_raw.size() != sizeof(MDRawContextMIPS)) { in Microdump()
344 std::cerr << "Malformed CPU context. Got " << cpu_state_raw.size() in Microdump()
350 memcpy(mips32, &cpu_state_raw[0], cpu_state_raw.size()); in Microdump()
353 if (cpu_state_raw.size() != sizeof(MDRawContextMIPS)) { in Microdump()
354 std::cerr << "Malformed CPU context. Got " << cpu_state_raw.size() in Microdump()
360 memcpy(mips64, &cpu_state_raw[0], cpu_state_raw.size()); in Microdump()