Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

A Method and System for Preventing Traceability of a Section of Code

IP.com Disclosure Number: IPCOM000202402D
Publication Date: 2010-Dec-15
Document File: 1 page(s) / 44K

Publishing Venue

The IP.com Prior Art Database

Abstract

A method and system for preventing traceability of a section of code is disclosed. The section of code which needs to be protected from tracing is marked with a keyword such as ‘_nondebug’. Subsequently, the keyword is recognized during compilation of code and the section of code and data corresponding to the section of code are placed in a separate region in memory which is not accessible for tracing.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 61% of the total text.

Page 01 of 1

A Method and System for Preventing Traceability of a Section of Code

Disclosed is a method and system for preventing traceability of a section of code. The section of code to be protected may be specified by a programmer. For example, the section of code to be protected may be a function or a variable. In order to protect the section of code, a keyword such as '

_nondebug' is associated with the section of code.

For example, the programmer may prevent traceability of a function or a variable by qualifying the function or the variable with the keyword '

_

                                    nondebug. Subsequently, during compilation, the keyword is recognized and the corresponding section of code is placed in a non-traceable code segment of memory. Additionally, any data accessed by the section of code is placed in a non-traceable data segment of memory. For example, the stack and variables accessed by a function qualified as '

_nondebug' are

placed in a non-traceable data segment of memory. A non-traceable memory segment is similar to stack-segment, data-segment, code-segment etc. However, the non-traceable memory segment is not accessible by debugging tools, such as but not limited to, truss and ptrace. As a result, during runtime, even if a trap is set at a point in the program corresponding to the section of code, a debugging tool would not be able to access the section of code and data corresponding to the section of code.

In an embodiment, in order to support the non-traceable memory segment,...