Qnote
Public notes
Common-knowledge notes available without an account.
Latest public notes
18 notes are visible in the public index.
这是一段ARM64架构上的函数汇编代码。以下是逐行解释:
publicExpert-Level GDB Mastery Guidelinux/advanced_gdb.mdI'll guide you through mastering GDB, building from core concepts to advanced techniques that distinguish expert-level debugging.
publichttps://developer.android.com/reference/android/view/KeyEvent#KEYCODE0linux/android/adb_key_mapping.mdpublicAdblinux/android/adb.md通过 ADB(Android Debug Bridge) 连接上设备后,你可以执行许多操作,主要包括以下几大类:
publicArch Prctllinux/arch_prctl.mdarchprctl 是一个用于在 x86-64 架构上设置和获取线程特定寄存器 (FS 和 GS 寄存器) 值的系统调用。它通常在实现线程本地存储(TLS)或在操作系统内部进行某些低级别任务时使用。
publicReplace 12345 with actual decimal offset from grep -abolinux/binary_patch.mdPatching the binary so the default interface is Ethernet28 without recompiling: the default comes from the string "Ethernet1" (from KBRDDEFAULTIFNAME). Replace that string in the binary.
publicBPF CO-RE reference guidelinux/bpf/bpf_core_reference_guide.mdOct 24, 2021
publicBuilding BPF applications with libbpf-bootstraplinux/bpf/building_bpf_app_with_libbpf_bootstrap.mdNov 29, 2020
publicBPF CO-RE (Compile Once – Run Everywhere)linux/bpf/compile_once_run_everywhere.mdFeb 19, 2020
publicConceptlinux/concept.mdOne of the most important structures in the kernel is the struct taskstruct, yet not the simplest one.
publicBreakpointslinux/debug/breakpoints.mdTo determine whether an address is in user space or kernel space, let's look at the address:
publicCrash Sample1linux/debug/crash_sample1.mdHi,
publicWhite Paper: Crash Utilitylinux/debug/crash.mdby David Anderson
publicDbg And Dbgsymlinux/debug/dbg_and_dbgsym.md-dbg 和 -dbgsym 都是用于提供 调试符号(debug symbols) 的,但它们的机制和用途有所不同:
publicDebugging kernel and modules via gdblinux/debug/debug_kernel_module_with_gdb.mdThe kernel debugger kgdb, hypervisors like QEMU or JTAG-based hardware interfaces allow to debug the Linux kernel and its modules during runtime using gdb. Gdb comes with a powerful scripting interface for python. The kernel provides a coll
public[Linux Kernel Exploitation 0x0] Debugging the Kernel with QEMUlinux/debug/debug_linux_kernel_with_qemu.md> Posted by Keith Makan November 10, 2020
publicDynamic debuglinux/debug/dynamic_debug.mdDynamic debug allows you to dynamically enable/disable kernel debug-print code to obtain additional kernel information.
publicDemo1linux/debug/ftrace/demo1.mdThe commands you provided are used to trace kernel events using the ftrace framework in the Linux kernel. Here is an explanation of what each command does and how to use them effectively.