The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Sep. 16, 2025
Filed:
Dec. 03, 2021
Institute of Software, Chinese Academy of Sciences, Beijing, CN;
Yanjun Wu, Beijing, CN;
Chang Liu, Beijing, CN;
Chen Zhao, Beijing, CN;
Jingzheng Wu, Beijing, CN;
Zhiqing Rui, Beijing, CN;
Bin Wu, Beijing, CN;
Tianyue Luo, Beijing, CN;
INSTITUTE OF SOFTWARE, CHINESE ACADEMY OF SCIENCES, Beijing, CN;
Abstract
Disclosed are a RISC-V and O-CFI mechanism-based defense method and apparatus for code reuse attacks, comprising: constructing a control flow graph according to program source codes randomized in a basic block order; on the basis of the control flow graph, obtaining a boundary range of a control flow transfer branch; executing the program source codes, obtaining a target node to which each control flow is to be transferred, and analyzing each target node in combination with the boundary range so as to defend against an abnormal control flow. The present invention can identify an illegal control flow transfer with the assistance of RISC-V security hardware according to the characteristics of a program control flow itself, and effectively handle code reuse attacks, thereby enhancing the security defense capabilities of an RISC-V system.