| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Also remove alignment of si_addr.
(cherry picked from commit f10aa3ae9d58269465c579e4c286ccef6be4c2d0)
Bug: 16950250
Change-Id: I60170b9eb7dd8fe99c0eeeaec74d13cfbaa920d9
|
|
|
|
|
|
| |
(cherry pick from 45ae446cab9cfc9b6100d91b1a37c6ad82e0cb99)
Change-Id: I619880342ee6febd1a6cc98d2a4f536120efc1c8
|
|
|
|
|
|
|
|
| |
Bug: 16357258
(cherry picked from commit c75a02fe3f9abec006a1e88794f2fa12fbeafd8f)
Change-Id: I96be34ee1664af54b0dcbc928ea542cd749852fd
|
|
|
|
| |
Change-Id: I71bdfba30346a9fad3129b404f39eda8190698e3
|
|
|
|
|
|
|
|
| |
Bug: 3399996
(cherry picked from commit 3ecc42106ea4cf825a57859cfd58442442685d24)
Change-Id: I075613ca3c022ce8d38a06a5ba236ceff32d181c
|
|
|
|
|
|
|
|
|
|
|
| |
Also fix dumping of arm64's vector registers, which are actually 128 bits wide.
Also move the arm/arm64 FP registers to the tombstone. (We've never dumped
them at all for the other architectures.)
(cherry picked from commit b40c50351ebd9fb40b76a3169ad5cc6a25c453f1)
Change-Id: Ic646fb9ea01e9beb42e1757feb8742c1d4efafa7
|
|
|
|
|
|
| |
failure.
Change-Id: Ia37cb3f8ecb00a927fa3fc8b4131c158413646e7
|
|
|
|
|
|
|
|
|
|
|
| |
There's no good reason to separate "fill the integer registers with
recognizable patterns and crash" from "fill the FP registers with recognizable
patterns and crash".
Also remove the incorrect use of ARCH_ARM_HAVE_VFP_D32 rather than try to fix
it.
Change-Id: I3a4a3aca1575de5489314027ae52168997404d79
|
|
|
|
| |
Change-Id: Id071417f56dd883e9d2e38a6f3296cb23a0352fb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Maps output now displays fault address location more intelligently. If
the fault is not in a mapped region, it now shows where that address is
with respect to the other maps.
In addition, the size of the map is now printed as part of the output.
Also, crasher now supports an "mmap" option which mmaps/munmaps a region
of memory and then attempts to access it, causing a fault address in
between mapped regions that can be used to test that new part of the
maps output.
Change-Id: Ia5e1926802bdfcbbdb7857e3631ddf395ae0c5b8
|
|
|
|
| |
Change-Id: I66bc2b181cd75da188c046571492224d5ac3fc98
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Now the debugging output shows the tid of the crashed thread instead of
the pid of the process that crashed.
Change-Id: I637f409ff02d73d458edc6d1a5c462c21d128211
|
|/
|
|
|
| |
Bug: 15520846
Change-Id: I18934cc60af3dda98ab729fbabc4c7a66834512e
|
|
|
|
|
|
|
| |
This lets the stack tool figure out which toolchain to use
automatically.
Change-Id: Ia235d6904622423fe6fbc7b0315a1861e52a41ad
|
|
|
|
|
|
|
| |
The debug output was still showing the pathname that worked with
gdbclient before my changes, and therefore did not work after the fact.
Change-Id: Ie12d79f5346088914ce0a70bda69780707b31d31
|
|
|
|
|
|
| |
PID and TID output line was missing.
Change-Id: I609af5727bc22ea0b97f3975ddb3cf0102910bc2
|
|
|
|
|
|
|
|
| |
If the fault address is not within a mapped region, it logs an error
message after the output. Otherwise, it prefixes the location of the
fault address with "--->" to make it easier to locate.
Change-Id: I330adaade4402ffeb09f1a6d34a944c2f054d06d
|
|
|
|
| |
Change-Id: I589d44485e55c23d1f1a6edfa8310a90cac2429e
|
|
|
|
| |
Change-Id: I0af865881c19ea4a57ec1aa9455bc32c08a60d75
|
|
|
|
|
|
|
|
|
| |
Now the functionality implemented by these semi-confusing cases has been
replaced with the same logtype enum behavior that is easier to
understand, and cases that used log-looking behavior to print to logcat
(when log = NULL) now use the more transparent ALOGE/ALOGD functions.
Change-Id: I7e38f2d4ca74a828df4d2266b3ea34edd3c6f5bb
|
|
|
|
|
|
|
|
|
|
|
| |
Now the map output is only sent to the tombstone, and the entire
contents of /prod/$PID/maps is logged, not just 3 lines. Additionally,
crasher now supports "crasher SIGSEGV-non-null", which attempts to write to a
dereferenced function address, causing a SIGSEGV at a non-zero address.
This new crasher mode can be used to test the new maps output.
Bug: 15343662
Change-Id: I796d92e8352a6b9714bbbfe96f3143c56565ef2f
|
|
|
|
| |
Change-Id: Ibeb048b683ec11b05af23371e5e4b17cdd50fea0
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The system by which debuggerd filters its output to different locations
is now based on an enum called logtype with easy to understand
categories for log messages (like THREAD, MEMORY, etc.) instead of the
old, fairly esoteric scope_flags variable. Now much of the output that
previously went to logcat does not show up on the screen, but all output
can be found in the tombstone file. In addition, the tombstone's
location is now printed so it can be located easily.
Bug: 15341747
Change-Id: Ia2f2051d1dfdea934d0e6ed220f24345e35ba6a2
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 15084471
Change-Id: If9fb260a3403e86f80928f2f5f79331fc0936030
|
| |
| |
| |
| | |
Change-Id: I1ee9117843aff2abe4067f288b8496d4bfc78c9e
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: I361e9668baa218fc01e723c2df1a34ca6329cf47
|
|/
|
|
|
|
|
| |
In particular, turn on -Wunused, which is globally off by default
thanks to build/core/config.mk.
Change-Id: Iba3ee1c0726f43eced972a53959f0e1cd97190c9
|
|
|
|
|
|
|
|
|
|
|
| |
- auditd spawn log copy to events and main
- logcat delete events as one of the default logs
- debuggerd do not collect events.
- squish multiple spaces
- switch from strcpy to memmove for overlapping buffers
BUG: 14626551
Change-Id: I89b30273ce931ed2b25a53ea9be48e77f4c1bbf4
|
|
|
|
|
| |
Change-Id: Ie5f6624b9dcf81d84769b9cdaf9d8a301c8826f7
Signed-off-by: Douglas Leung <douglas@mips.com>
|
|
|
|
|
|
|
| |
Also add SIGTRAP to the list of signals we don't want to double fault on.
Bug: 15024256
Change-Id: I23ab80800563c007fcd3e42527329fedf762f0c8
|
|
|
|
| |
Change-Id: I4d0cbe14daa90ac5f91ce4597584448ee3c65dda
|
|
|
|
|
| |
Bug: 15021938
Change-Id: I2df433d939f5f83ed2a2a30af357b83e4d8e5331
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 15024256
Change-Id: I3f34993fcfd9799306852b0a2195db468370be6e
|
|/
|
|
|
|
|
|
|
|
|
| |
- auditd switch to recording logs to events log id
- logcat add events as one of the default logs
- debuggerd collect events log as well.
ToDo: debuggerd & bugreport collect intermixed logs.
BUG: 14626551
Change-Id: I958f0e729b7596748be57488a38824db5645be7b
|
|
|
|
|
|
|
| |
The uapi headers have everything we need, and the corkscrew
header files have been removed.
Change-Id: I274b44463638112f1ab290926094c094c9253586
|
|
|
|
|
| |
Bug: 14498701
Change-Id: I62c271bef2f73166eeb91d3fa3ce1e1b724a081f
|
|
|
|
|
|
| |
- Deal with some -Wunused / -Wunused-variable issues
Change-Id: I39849fe30170f69d1cab7d4ad2629b3a49e14ee7
|
|
|
|
|
|
|
|
|
| |
Bionic needs to re-raise various signals, which means the si_code
debuggerd sees has been clobbered. If bionic sends us the original
si_code value, we can use that instead of the one we see when the
ptrace the crashed process' siginfo.
Change-Id: If116a6bc667d55a6fb39b74f96673292af4e4c8c
|
|
|
|
|
|
| |
Also add static_asserts so we'll be notified if any more new ones show up.
Change-Id: I3a502dd4da35354e1ac65865191d31ccdacef298
|
|
|
|
|
|
|
| |
This makes LOG_ALWAYS_FATAL and LOG_ALWAYS_FATAL_IF as good as regular
assert(3).
Change-Id: I0666684d30cae7baf23c64b33d35c1e43f81acf0
|
|
|
|
| |
Change-Id: Iea453764a1a4fc1661f461f10c641c30150e4d20
|
|
|
|
|
|
|
| |
Use LOCAL_MULTILIB to build multiple versions of executables
instead of manually creating two build rules.
Change-Id: I1a993ff7b5f527a88735f46eec9822bb97d16490
|
|
|
|
| |
Change-Id: I1518d45ae0c5e0fed31d071fdaf19a67bad1bdfc
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
libselinux selinux_android_restorecon API is changing to the more
general interface with flags and dropping the older variants.
Also get rid of the old, no longer used selinux_android_setfilecon API
and rename selinux_android_setfilecon2 to it as it is the only API in use.
Change-Id: I1e71ec398ccdc24cac4ec76f1b858d0f680f4925
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
|
|\ \ |
|