Kernel - Debbuging Script Utilize
Agenda 커널 디버깅 시 python script를 활용하여 디버깅하면 더욱 편리하게 디버깅 할 수 있음 Python Script Code import os sys .path.insert(0, os.path.dirname(file) + "/scripts/gdb") try: gdb.parse_and_eval("0") gdb.execute("", to_string=True) except: gdb.write("NOTE: gdb 7.2 or later required for Linux helper scripts to " "work.\n") else: import linux.utils import linux.symbols import linux.modules import linux.dmesg import li..