Tagged articles
8 articles
Page 1 of 1
Black & White Path
Black & White Path
May 23, 2026 · Information Security

kn-live-dbg: A Debugger‑Like Windows Kernel Live Debugging Tool

kn-live-dbg is a lightweight, debugger‑styled Windows kernel memory browser that uses a kernel driver and a user‑mode TUI to read/write virtual and physical memory, enumerate callbacks, parse symbols, and even provide AI‑assisted command planning, offering a faster alternative to WinDbg for specific security research tasks.

AI assistantDbgHelpWindows kernel
0 likes · 12 min read
kn-live-dbg: A Debugger‑Like Windows Kernel Live Debugging Tool
Linux Kernel Journey
Linux Kernel Journey
Dec 21, 2025 · Artificial Intelligence

How to Trace Intel NPU Kernel Driver Operations Using eBPF and bpftrace

This tutorial explains how to use eBPF and bpftrace to monitor the Intel NPU kernel driver on Lunar Lake and Meteor Lake CPUs, mapping Level Zero API calls to kernel ioctls, tracking memory allocation, IPC communication, and identifying performance bottlenecks through detailed function‑call statistics.

Intel NPULevel Zero APIbpftrace
0 likes · 17 min read
How to Trace Intel NPU Kernel Driver Operations Using eBPF and bpftrace
Liangxu Linux
Liangxu Linux
Jul 31, 2025 · Backend Development

How to Build and Test a Simulated GPIO Character Driver on Linux

This tutorial walks through creating a Linux kernel character driver that simulates four GPIO devices, compiles the module, loads it to automatically generate /dev/mygpio0‑3 nodes, and provides a user‑space program to control the GPIO states via ioctl, including full build and cleanup steps.

CGPIOMakefile
0 likes · 12 min read
How to Build and Test a Simulated GPIO Character Driver on Linux
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Aug 23, 2024 · Mobile Development

GPU Command and Syncpoint Analysis on SM8650 Platform

On the SM8650 platform, GLES issues synchronous and draw commands that the kernel‑mode driver translates into kgsl_drawobj structures, queues them in per‑context dispatch lists, processes fence, timestamp, and timeline syncpoints via dedicated kernel threads, and finally submits draw objects to the GPU firmware, with eglSwapBuffers triggering a fence syncpoint, a draw command, and a GPU fence creation.

AndroidGPUGraphics
0 likes · 12 min read
GPU Command and Syncpoint Analysis on SM8650 Platform
Liangxu Linux
Liangxu Linux
Dec 2, 2023 · Fundamentals

Simplify Linux Driver Probes with Device Resource Management (devm_ APIs)

This article explains how Linux kernel drivers can replace repetitive error‑handling and manual resource cleanup in probe functions by using the device‑resource‑management framework and its devm_ helper APIs, showing concrete code transformations, data‑structure details, and the underlying mechanisms that automate allocation and release.

Device Resource ManagementResource Cleanupdevm
0 likes · 18 min read
Simplify Linux Driver Probes with Device Resource Management (devm_ APIs)
Liangxu Linux
Liangxu Linux
Jun 14, 2023 · Backend Development

Mastering Linux Wait Queues: Step‑by‑Step Driver Implementation Guide

This article explains how Linux kernel drivers use wait queues for process sleep and wake‑up, covering static and dynamic initialization, the various wait_event macros, wake‑up functions, complete driver source code, Makefile setup, and step‑by‑step build and testing instructions.

CLinuxSynchronization
0 likes · 16 min read
Mastering Linux Wait Queues: Step‑by‑Step Driver Implementation Guide
Liangxu Linux
Liangxu Linux
May 19, 2021 · Fundamentals

Understanding Linux NEC Infrared Remote Drivers: From Protocol Basics to Kernel Implementation

This article explains how infrared remote controls work, details the NEC protocol timing and encoding, and walks through the Linux kernel driver implementation—including GPIO‑IR receiver code, NEC decoder logic, device‑tree configuration, and key‑event reporting—providing a complete technical guide for developers.

Device TreeGPIOIR remote
0 likes · 17 min read
Understanding Linux NEC Infrared Remote Drivers: From Protocol Basics to Kernel Implementation