MCPcopy Create free account
hub / github.com/chromium/crashpad / Read

Method Read

util/process/process_memory_test.cc:470–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

468 }
469
470 static StringDataInChildProcess Read(FileHandle in) {
471 StringDataInChildProcess str;
472 EXPECT_TRUE(ReadFileExactly(in, &str.address_, sizeof(str.address_)));
473 EXPECT_TRUE(
474 ReadFileExactly(in, &str.expected_value_, sizeof(str.expected_value_)));
475 return str;
476 }
477
478 VMAddress address() const { return address_; }
479 std::string expected_value() const { return expected_value_; }

Callers 2

DoTestMethod · 0.45
DoTestMethod · 0.45

Calls 1

ReadFileExactlyFunction · 0.85

Tested by

no test coverage detected