Memory monitoring device and method for dynamically monitoring mistaken heap memory usage
A memory monitoring and dynamic monitoring technology, applied in the computer field, can solve problems such as not being suitable for embedded systems, affecting software running speed, occupying a lot of system resources, etc., achieving good promotion and application value, avoiding system overhead, and high execution efficiency Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment approach
[0090] This solution is not limited to a certain chip architecture or a certain operating system. Now, taking the embedded Linux system based on the ARM architecture as an example, an implementation solution is provided. The specific implementation steps are as follows:
[0091] 1) C language is used as the programming language of the device of the present invention, and the final code is compiled with a cross-compilation tool of arm to generate a dynamic library libmmonitor.so.
[0092] 2) Inside libmmonitor.so, at least the following functions will be implemented:
[0093] __attribute__ ((constructor)) void mm_init(void) This function is the constructor when the process is running;
[0094] void* malloc(int size) This function will be used to intercept the malloc function of the original system library;
[0095] void free(void*p) This function will be used to intercept the free function of the original system library;
[0096] __attribute__ ((destructor)) void mm_uninit (v...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com