openharmony 鸿蒙 kernel-small-start-user

Startup in User Mode Startup of the Root Process in User Mode The root process is the first user-mode process in the system. The process ID is 1. The root process is the ancestor of all user-mode proc
阅读全文

openharmony 鸿蒙 kernel-small-start-kernel

Startup in Kernel Mode Kernel Startup Process The kernel startup process consists of the assembly startup and C language startup, as shown in Figure 1. The assembly startup involves the following oper
阅读全文

openharmony 鸿蒙 kernel-small-overview

LiteOS-A Overview Overview The OpenHarmony lightweight kernel is a next-generation kernel that evolved from the kernel of Huawei LiteOS, a lightweight IoT operating system. The kernel comes with two p
阅读全文

openharmony 鸿蒙 kernel-small-memory-lms

LMS Basic Concepts Lite Memory Sanitizer (LMS) is a tool used to detect memory errors on a real-time basis. LMS can detect buffer overflow, Use-After-Free (UAF), and double free errors in real time, a
阅读全文

openharmony 鸿蒙 kernel-small-debug-user

User-Mode Memory Debugging Basic Concepts The musl libc library of the debug version provides mechanisms, such as memory leak check, heap memory statistics, memory corruption check, and backtrace, to
阅读全文

开源鸿蒙 How to Use

By default, the OpenHarmony debug version is compiled when a project is built. The libc library of the debug version has integrated the APIs for memory debugging. You can enable memory debugging as required.
阅读全文