Document:
03314: Schema ballot: Issue #302

Draft (A preliminary unapproved sketch, outline, or version.)

Details

Submitted By David Keaton on 2019-03-08 6:01 am UTC

Publication Type

None at this time.

Group / Folder

OASIS Static Analysis Results Interchange Format (SARIF) TC / System Ballot Results

Modified by

Not modified.

Copy

This document is not a copy.

Technical Contact

None at this time.

Download Count

234

Download Agreement

None at this time.

Description

EBALLOT PROPOSAL Provide an address property on the location object in order to provide address details for results. Addresses can refer to a parent address, in order to render address 'chains' that describe structure within an analysis target (e.g., an offset from a section header). Provide a table of cached address objects at run.addresses consistent with other SARIF tables. API IMPACT Define an address object. Add location.address (an address instance) Add run.addresses (an array of address instances) Add externalPropertyFiles.addresses to permit externalizing address data. Remove stackFrame.address and stackFrame.offset (both of type integer) and replace them with a new stackFrame.address property of type address. The address object contains the following properties: baseAddress : a base address rendered as a hexadecimal string kind: an open-ended string that identifies the address kind. 'section' and 'segment' are well-known values. name: a name that is associated with the address, e.g., '.text' offset: an offset from the base address, if present, rendered as a hexadecimal string index: an index into run.addresses used to retrieve a cached instance to represent the address parentIndex: an index into run.addresses to retrieve a parent address. the parent can provide a base address (from which the current offset value is relevant) and other details https://github.com/oasis-tcs/sarif-spec/issues/302