platform_system_core/logcat
Mark Salyzyn 01bdb04be6 liblog: allow event tags to include some punctuations
event_log_tag parser complains about a period (.) in the name,
we would consider such an enhancement to the tag names possible.
I expect we would want to be able to support alphanumerics,
underscore (_), period (.), minus (-), at (@) and comma (,) for
starters as they are present in the other text log buffer tags.

We introduce a local endOfTag function that is used during parsing and
during android_lookupEventTagNum for submitting new tags.  This
function caused us to enforce const char more closely.  By filtering
in both places we resolve an issue that could have plagued us if
garbage requests were made.

Test: gTest liblog-unit-tests, logd-unit-tests & logcat-unit-tests
Bug: 31456426
Change-Id: I596b8706e843719ddac07ec40e1cd2875c214bed
2017-04-14 12:56:06 -07:00
..
include/log liblogcat: introduce getopt_long_r 2017-03-06 08:40:16 -08:00
tests liblog: allow event tags to include some punctuations 2017-04-14 12:56:06 -07:00
.clang-format logcat: Add coding style 2017-02-17 14:42:14 -08:00
Android.mk logcatd: introduce logcatd executable 2017-04-04 08:01:50 -07:00
event.logtags liblog: logprint supports number of seconds time event field 2017-04-14 12:54:25 -07:00
getopt_long.cpp liblogcat: introduce getopt_long_r 2017-03-06 08:40:16 -08:00
logcat.cpp logcat: Add -h and --help flags 2017-04-04 08:01:11 -07:00
logcat_main.cpp logcat: Create liblogcat 2017-02-17 14:42:14 -08:00
logcat_system.cpp liblogcat: add android_logcat_popen and android_logcat_system 2017-02-17 14:42:14 -08:00
logcatd.rc logcatd: introduce logcatd executable 2017-04-04 08:01:50 -07:00
logcatd_main.cpp logcatd: introduce logcatd executable 2017-04-04 08:01:50 -07:00
logpersist logcatd: fix up logpersist.cat to filter out signature file 2016-08-08 10:20:22 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00