MCPcopy Create free account
hub / github.com/Marus/cortex-debug / tryAddMemoryReference

Method tryAddMemoryReference

src/backend/backend.ts:158–163  ·  view source on GitHub ↗
(result: object)

Source from the content-addressed store, hash-verified

156 }
157
158 private tryAddMemoryReference(result: object): void {
159 if ((this.numchild > 0 || this.type === 'void *')
160 && this.value.startsWith('0x')) {
161 result['memoryReference'] = hexFormat(parseInt(this.value));
162 }
163 }
164}
165
166// from https://gist.github.com/justmoon/15511f92e5216fa2624b#gistcomment-1928632

Callers 2

toProtocolVariableMethod · 0.95

Calls 1

hexFormatFunction · 0.90

Tested by

no test coverage detected