summaryrefslogtreecommitdiffstats
path: root/debuggerd/crasher.c
Commit message (Collapse)AuthorAgeFilesLines
* system/core LP64 cleanup.Elliott Hughes2014-02-051-4/+4
| | | | | | | Fixes -Wint-to-pointer and -Wpointer-to-int warnings, plus various -Wformat warnings. Change-Id: I6c5eea6b4273d82d28b8e5d2925f3e5457511b17
* Remove dead code that looked like part of debuggerd.Elliott Hughes2014-01-311-13/+0
| | | | | | | Note that these were two different functions. The definition was unused, and the declaration was undefined. Change-Id: I2edd10a0ab9422cd5252bdb9ccdd726dc5fad531
* Improve the crasher stack-overflow command.Elliott Hughes2013-07-151-2/+4
| | | | | | Runs a lot quicker, with no intermediate noise. Change-Id: Icd911ff305da2e0889029dc78d5c2b39f32111c5
* Add a new test to crasher to upset dlmalloc.Elliott Hughes2013-06-121-25/+34
| | | | | | | | We should also add a test for heap corruption, but I failed to come up with a kind of corruption that dlmalloc actually detects (rather than just crashing accidentally). Change-Id: I7457e732729635b171ffc44517c3de71f55608e6
* Add a stack overflow test to crasher, and document all the options.Elliott Hughes2013-04-231-27/+38
| | | | Change-Id: Iebe80c24ef43f08d258881e7847516d414436931
* Unwinding implementation via eh_frame sections for x86Pavel Chupin2013-03-141-0/+16
| | | | | | | | | | | | | | | Backtracing through eh_frame section is more effective allowing to reuse ebp register for other purposes within routine. GCC with turned on optimizations (-O1 and above) implicitly defines -fomit-frame-pointer anyway. eh_frame sections are generated by default with GCC on any optimization level. This change implements remote unwinding (separate process unwinding). Local unwinding is already implemented through _Unwind_Backtrace call which is implemented in libgcc. Change-Id: I1aea1ecd19c21710f9cf5f05dc272fc51b67b7aa Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* Add a "smash-stack" option to crasher.Elliott Hughes2013-02-141-0/+13
| | | | | | | | bionic's __stack_chk_fail was preventing debuggerd from dumping stacks, which was not helpful. Bug: 2487269 Change-Id: Idba2a274037b960dfb2ac1c21686323268c4b372
* Expand crasher with a "thread-" prefix to crash on another thread.Elliott Hughes2012-12-101-11/+34
| | | | | | | | So "thread-nostack" runs the "nostack" code on a new thread, and "thread-abort" runs the "abort" code on a new thread, and so on. Bug: http://code.google.com/p/android/issues/detail?id=16672 Change-Id: I026a0e43eea147f1a7a74243846954599bcf4238
* debuggerd: Reorganize to facilitate IA commitBruce Beare2010-11-291-0/+1
| | | | | Change-Id: I22dd02daf617672fc0a8ba7e396017c57f17e26e Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+105
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-105/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+105