Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD FOR MULTITHREADED PROGRAM OUTPUT UNIQUENESS TESTING AND PROOF-GENERATION, BASED ON PROGRAM CONSTRAINT CONSTRUCTION
Document Type and Number:
WIPO Patent Application WO/2016/004806
Kind Code:
A1
Abstract:
Provided is a method for multithreaded program output uniqueness testing and proof-generation, based on program constraint construction; according to multithreaded program semantics, a constraint expression is constructed; an output uniqueness verification problem is converted to a constraint solving problem; a constraint solver is used to detect the presence of different outputs, and a counterexample execution path describing different outputs is generated; first, a tested program is stubbed, and the program is executed to obtain an execution path; then, according to multithreaded program execution semantics, the execution path is converted to a first-order logic expression having no quantifiers, the constraint expression encompassing all possible thread interleavings; then, uniqueness verification conditions are constructed for the output of a first run; lastly, the constraint solver is used for verifying whether a path is causing the output value and the run result to be inconsistent. The present method detects whether the output of a multithreaded program is unique from a given input; if outputs are not unique, a counterexample sequence is displayed to describe the triggering process of same.

Inventors:
LIU TING (CN)
ZHANG XIAODONG (CN)
LIU PEI (CN)
YU LECHEN (CN)
ZHENG QINGHUA (CN)
Application Number:
PCT/CN2015/081055
Publication Date:
January 14, 2016
Filing Date:
June 09, 2015
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
UNIV XI AN JIAOTONG (CN)
International Classes:
G06F11/36
Foreign References:
CN104077226A2014-10-01
CN102799529A2012-11-28
CN102063328A2011-05-18
Attorney, Agent or Firm:
XI'AN CYDA INTELLECTUAL PROPERTY AGENCY (CN)
西安智大知识产权代理事务所 (CN)
Download PDF: