Patents
US 2004015902 A1#6090286 Most CitedPendingUnited States (USPTO)Application

Method and apparatus for detecting violations of type rules in a computer program

15Forward Citations (#6090286 Global)
0.7/yrCitation Velocity (#11155673 Global)
4.12Citation PageRank (#4539486 Global)
17Prior Art Cited
0Structured Claims
0Drawings / Sheets

Abstract

One embodiment of the present invention provides a system that detects violations of type rules in a computer program. The system operates by locating a type casting operation within the computer program, wherein the type casting operation involves a first pointer and a second pointer. The system then checks the type casting operation for a violation of a type rule. If a violation is detected, the system indicates the violation. In one embodiment of the present invention, if the first pointer is defined to be a structure pointer and the second pointer is not defined to be a structure pointer, the system indicates a violation of a type rule. In one embodiment of the present invention, if the first pointer is defined to point to a first structure type and the second pointer is defined to point to a second structure type, the system determines whether the first structure type and the second structure type belong to the same alias group. If not, the system generates an error to indicate a type violation.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 15.

Claims (0)

No claim text indexed for this record.

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (17)