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.

Date of Patent:
Jun. 15, 2021

Filed:

Jan. 21, 2021
Applicant:

Peking University, Beijing, CN;

Inventors:

Gang Huang, Beijing, CN;

Huaqian Cai, Beijing, CN;

Yun Ma, Beijing, CN;

Jiamei Huang, Beijing, CN;

Assignee:

PEKING UNIVERSITY, Beijing, CN;

Attorney:
Primary Examiner:
Assistant Examiner:
Int. Cl.
CPC ...
G06F 11/36 (2006.01); G06F 9/455 (2018.01); G06F 8/41 (2018.01);
U.S. Cl.
CPC ...
G06F 11/3608 (2013.01); G06F 8/425 (2013.01); G06F 8/433 (2013.01); G06F 9/45508 (2013.01);
Abstract

A data-control-oriented program static analysis method includes: compiling and interpreting a code of a smart contract to generate a bytecode of the code of the smart contract; resolving a control-flow relation between instructions of the bytecode, and building and printing a control-flow graph according to the control-flow relation; adding a taint source in the smart contract to an analysis result of a starting block of the control-flow graph, traversing the control-flow graph, performing a data dependence analysis based on a taint analysis technique, continuously updating an analysis result of a basic block in the control-flow graph; predefining an expression form of an analysis result and a basic operation related to the analysis result for the static analysis, controlling an updating of the analysis result according to a definition, and returning a final analysis result; and according to the final analysis result, generating and returning an analysis report.


Find Patent Forward Citations

Loading…