[RESTRICT AUTOMERGE]: Give tests more control of crash parser behavior

Added a config object instead of a multitude of arguments.
The config object has options for:
	- crash signal (SIGSEGV, SIGABRT, SIGBUS, etc.)
	- whether or not to check the crash address
	- changing the min crash address threshold
	- what process patterns to match against

Bug: 142482078
Test: cts-tradefed run compatibility-common-util-tests
Test: cts-tradefed run cts -m CtsSecurityTestCases -t android.security.cts.StagefrightTest
Change-Id: Id5aec329fe689ce3d43c481b46bfe21550ff9fee
2 files changed
tree: 0a09452a4a25c9cd0d71309925792d6c560c79cc
  1. common/
  2. tools/
  3. Android.mk
  4. test_defs.sh