Tagged articles
memory protection
10 articles · Page 1 of 1
The CPU does not identify instructions or data by their binary appearance; instead, the program counter determines which bytes are fetched as instructions, the instruction set defines their encoding, and the executing program decides how to interpret data bytes, while memory permissions constrain execution.
CPUbinary datacomputer architecture
0 likes · 10 min read

This article explains how oversized database query results can cause JVM memory spikes and OOM errors, and shows how to use MyBatis interceptors to monitor, limit, and protect memory consumption with non‑intrusive code, Prometheus metrics, and configurable thresholds, ultimately improving system stability and performance.
BackendInterceptorJava
0 likes · 20 min read

This article explains how oversized database query results can cause JVM heap spikes, frequent Full GC, or OOM crashes in Java services, and demonstrates a non‑intrusive MyBatis interceptor solution that monitors, grades, and blocks risky queries while exposing Prometheus metrics for proactive alerting and capacity planning.
InterceptorJavaMyBatis
0 likes · 18 min read

This article explains essential bootloader security mechanisms—including image integrity checks, digital signature verification, hardware/software memory protection, and the use of read‑only storage—while highlighting practical implementation tips for STM32 and the trade‑offs between security and system complexity.
Embeddedbootloaderdigital-signature
0 likes · 8 min read

The article explains the role of a Memory Management Unit (MMU) in translating virtual to physical addresses, managing page tables, providing memory protection and sharing, and why modern operating systems like Linux rely on it while some embedded systems can operate without one.
MMUPage Tablememory protection
0 likes · 7 min read

TrustZone implements a hardware‑level privacy shield for smartphones by partitioning CPU, bus, memory, peripherals and interrupts into a Secure World and a Normal World, using ARMv8 exception levels and extensions such as SCR, TZPC, TZASC, GIC and MMU to isolate user data from non‑secure software.
ARM SecurityTEETrustZone
0 likes · 12 min read

This article examines the security challenges of Android and IoT devices built on ARM/ARM64 platforms, explains how Google's Generic Kernel Image (GKI) restricts kernel modifications, and provides detailed techniques—including memory‑page attribute manipulation, remap_pfn_range, and assembly‑level hook implementations—to safely inject custom functionality into the kernel while addressing write‑protection, concurrency, and module‑unloading issues.
ARMAndroidGKI
0 likes · 15 min read

This article explains why virtual memory is essential in modern operating systems, covering its role as an abstraction layer, caching benefits, memory protection, multi‑level page tables, and how it enables efficient resource utilization and process isolation.
Cachingmemory managementmemory protection
0 likes · 11 min read

This article explains why traditional function‑hooking tricks fail on modern Linux due to executable‑memory protections, and presents a step‑by‑step method using page‑table remapping and the kernel's text_poke utilities to replace kernel functions safely, complete with code examples and a diagram.
Kernel Modulefunction hookingkernel
0 likes · 10 min read

Redis allocates a dedicated output buffer for each client—whether a regular user, slave, monitor, or Pub/Sub subscriber—and employs size and duration limits to automatically close connections when buffers grow too large, thereby preventing memory exhaustion and potential system crashes.
Redisclient managementconnection limits
0 likes · 3 min read
