mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 22:26:06 +00:00
Instead of allocating test memory in the parent and then forking and comparing against it, the child does the allocation and passes back the region's size and address. Additionally, switch the memcmp()s to be value-based comparisons instead because the region isn't available in the parent. Also renames ProcessMemory.ReadForked to .ReadChild to be correct after the change from Multiprocess to MultiprocessExec. This is necessary to have the tests work on Fuchsia. Bug: crashpad:196, crashpad:215 Change-Id: Id996a21180d87c7f2556283e9f54f6128726f9b8 Reviewed-on: https://chromium-review.googlesource.com/892102 Commit-Queue: Scott Graham <scottmg@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> Reviewed-by: Joshua Peraza <jperaza@chromium.org>