[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: Ic8cbecacb71e09bc8e589cdf5d51f3c1c3e12442
Merged-In: Ic8cbecacb71e09bc8e589cdf5d51f3c1c3e12442
2 files changed