A method, device and electronic equipment for releasing a mutex
A resource lock and lock state technology, applied in the field of releasing mutex locks, can solve the problems of inability to detect and kill the security protection efficiency of the operating system, and the operating system crashes, and achieve the effect of improving the security protection efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] figure 1 It is a schematic flow diagram of a method for releasing a mutex lock according to an embodiment of the present invention, as figure 1 As shown, the method of this embodiment may include:
[0057] Step 101, obtain process resource lock information in the process environment block, and obtain the lock field in the process resource lock information;
[0058] In this embodiment, as an optional embodiment, the acquiring the process resource lock information in the process environment block includes:
[0059] A01, obtain the process environment block address;
[0060] As an optional embodiment, the process environment block (Process Environment Block, PEB) address can query the basic type information of the ProcessBasicInformation process by calling the ZwQueryInformationProcess function, wherein the PEB address is saved, named PebBaseAddress, thereby obtaining the process environment block PEB address.
[0061] A02. Obtain a pointer to the process resource lock ...
Embodiment 2
[0081] figure 2 It is a schematic structural diagram of a device for releasing a mutex in Embodiment 2 of the present invention, such as figure 2 As shown, the device in this embodiment may include: a lock field acquisition module 21, a lock judgment module 22, and a status update module 23, wherein,
[0082] The lock field acquiring module 21 is used to acquire the process resource lock information in the process environment block, and acquire the lock field in the process resource lock information;
[0083] In this embodiment, as an optional embodiment, the lock field acquisition module 21 includes: an address acquisition unit, a pointer acquisition unit, a process resource lock information acquisition unit, and a lock field acquisition unit (not shown in the figure), wherein,
[0084] An address obtaining unit, configured to obtain the address of the process environment block;
[0085] A pointer acquisition unit, configured to obtain the pointer of the process resource ...
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