Buffer overflow attack defense method and device based on risc-v and canary mechanism
A RISC-V, buffer overflow technology, applied in the computer field, can solve problems such as limited scope of application, difficulty in landing, lack of protection, etc., and achieve the effect of small system performance and good defense effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0064] The present invention will be further described below with reference to the accompanying drawings.
[0065] The buffer attack defense method based on the Canary mechanism in this embodiment, wherein the overall process is as follows figure 1 It mainly includes the following steps:
[0066] 1) Analyze the program source code, generate a node call relationship diagram, and determine the specific instruction positions of each function call and return, where the function call will be recognized as a call instruction, and the function return will be recognized as a ret instruction. The node call relationship graph is a joint data structure that integrates a variety of node sets and node relationship sets. Its structure G=(V C , V R , R, nentry), where V C is the set of function call nodes, V R is the set of function return nodes, R is the set of correspondences between function calls and return nodes, and nentry is the entry node of the program. Its process is as figu...
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