METHOD AND SYSTEM FOR PERFORMING A MEMORY SAFETY CHECK OF A PROGRAM WRITTEN IN AN UNMANAGED PROGRAMMING LANGUAGE

Patent №

US 9,530,006

Granted

2016-12-27

Filed 2014

Owner

ORACLE INTERNATIONAL CORPORATION

Lab

AI components

1

hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

14251519

A method for performing a memory safety check of a program coded in an unmanaged programming language includes receiving an intermediate representation (IR) of the program and performing a static analysis pass of the IR to generate annotations including a safe pointer and an unsafe pointer. The method further includes removing, during a static analysis pass of the IR, the safe pointer from the annotations, inserting, into the IR using the annotations, a sandbox function call at the unsafe pointer to generate a modified IR, compiling the modified IR to generate an executable version of the program, executing, inside a sandbox framework, the executable version of the program, generating, during runtime and upon reaching the sandbox function call, a metadata entry and an enhanced pointer for atomicity, and comparing, during runtime and upon reaching a use of the unsafe pointer, the metadata entry with the enhanced pointer.

AI hardwareG06F 21/577G06F 21/53G06F 21/566G06F 11/3624G06F 11/3636

AI classification

AI hardware1.00
Planning0.19
Knowledge representation0.03
Natural language0.01
Vision0.00
Evolutionary computation0.00
Machine learning0.00
Speech0.00

Ownership

ORACLE INTERNATIONAL CORPORATION

assignment · 397170959

Assignors

TROEGER, JENS, MALHOTRA, VISHV MOHAN

On an employer assignment, the assignors are typically the inventors.

© 2026 NYSGPT2525 LLC