Check stack pointer to be inside stack when unwinding.

TraceStackFramePointers() function, which unwinds stack using frame pointers,
sometimes crashes on Android when it dives deep into JVM internals and finds
bad stack pointer there. See details here: crbug.com/602701#c18

This CL adds checks to make sure only valid stack pointers are dereferenced.

BUG=602701

Review-Url: https://codereview.chromium.org/1975393002
Cr-Commit-Position: refs/heads/master@{#398134}


CrOS-Libchrome-Original-Commit: 0bed5150f19acdd4897dd12ea8e4d4802c51d75f
1 file changed
tree: 9520ca2ca1f5d719a5a9ec146169a7d7900f393e
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/