TY - GEN
T1 - Tracing android kernel codes at early stage without extra hardware components
AU - Zhang, Boyu
AU - Yang, Kai
AU - Wang, Lianfang
AU - Tan, Yu An
AU - Hu, Sikang
N1 - Publisher Copyright:
© 2019 IEEE.
PY - 2019/6
Y1 - 2019/6
N2 - Debugging is an essential part of the development process, and the functionality of the debugging tools influences the quality of software development. Therefore, a suitable debugging tool should be adopted before the formal development process. Distinct from the traditional software debugging, debugging android kernel requires specific tools. However, the commonly used android kernel debugging tools cannot meet the requirement of tracing the error of kernel codes during the early stage of the kernel boot process. Even if some methods are adjusted for the situation, the unneglectable cost is considered as the blocking of kernel development. In this paper, a feasible android kernel debugging method is proposed and implemented. In this method, the debugging information is stored in the non-volatile memory, which can be acquired after the kernel boot procedure. As a result, the data in this memory space will not be cleared and will not be arbitrarily modified by the kernel, and developers can trace the kernel code by analyzing the information dumped from the memory space. The evaluation of the scheme proves that this method is feasible and functional for android kernel debugging during the kernel boot process.
AB - Debugging is an essential part of the development process, and the functionality of the debugging tools influences the quality of software development. Therefore, a suitable debugging tool should be adopted before the formal development process. Distinct from the traditional software debugging, debugging android kernel requires specific tools. However, the commonly used android kernel debugging tools cannot meet the requirement of tracing the error of kernel codes during the early stage of the kernel boot process. Even if some methods are adjusted for the situation, the unneglectable cost is considered as the blocking of kernel development. In this paper, a feasible android kernel debugging method is proposed and implemented. In this method, the debugging information is stored in the non-volatile memory, which can be acquired after the kernel boot procedure. As a result, the data in this memory space will not be cleared and will not be arbitrarily modified by the kernel, and developers can trace the kernel code by analyzing the information dumped from the memory space. The evaluation of the scheme proves that this method is feasible and functional for android kernel debugging during the kernel boot process.
KW - Android kernel
KW - Kernel tracing
KW - Pstore
KW - Ramoops
UR - http://www.scopus.com/inward/record.url?scp=85077133641&partnerID=8YFLogxK
U2 - 10.1109/DSC.2019.00039
DO - 10.1109/DSC.2019.00039
M3 - Conference contribution
AN - SCOPUS:85077133641
T3 - Proceedings - 2019 IEEE 4th International Conference on Data Science in Cyberspace, DSC 2019
SP - 210
EP - 216
BT - Proceedings - 2019 IEEE 4th International Conference on Data Science in Cyberspace, DSC 2019
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 4th IEEE International Conference on Data Science in Cyberspace, DSC 2019
Y2 - 23 June 2019 through 25 June 2019
ER -