Invention Grant
- Patent Title: Low-level code rewriter verification
- Patent Title (中): 低级代码重写器验证
-
Application No.: US12724762Application Date: 2010-03-16
-
Publication No.: US08381175B2Publication Date: 2013-02-19
- Inventor: Milind Mohan Chabbi , Casimir Lakshan Fernando
- Applicant: Milind Mohan Chabbi , Casimir Lakshan Fernando
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agency: Ogilvic Law Firm
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
Verification of low-level rewriters such as binary rewriters involves “vanilla” rewriting a file to generate a rewritten low-level file without performing any optimization, compaction, or other substantive low-level code transformation during the rewrite. Then the metadata of the original low-level file is automatically compared with matching metadata of the rewritten low-level file for semantic equivalence. A properly functioning rewriter produces semantically equivalent files, whereas a defective rewriter may produce files whose metadata semantics differ. Comparison may distinguish composite metadata entities from self-contained metadata entities, and transitive closures of metadata may be compared. Comparison may also test for bitwise equality of self-contained metadata entities, and test for equality between respective flags, strings, fields, and/or methods of the original and rewritten files. Syntactic variants may be detected during comparison, and metadata may be converted into a canonical form to facilitate comparison.
Public/Granted literature
- US20110231824A1 LOW-LEVEL CODE REWRITER VERIFICATION Public/Granted day:2011-09-22
Information query