12345678910111213141516171819202122232425262728 |
- import {
- type DebugFile as TDebugFile,
- DebugFileFeature,
- DebugFileType,
- } from 'sentry/types';
- export function DebugFile(params = {}): TDebugFile {
- return {
- objectName: 'libS.so',
- symbolType: 'elf',
- dateCreated: '2010-04-23T02:08:51.179486Z',
- debugId: '2oihoi4h5ioh34534oi5h',
- data: {
- type: DebugFileType.LIB,
- features: [DebugFileFeature.UNWIND],
- },
- id: '12345',
- size: 12345,
- sha1: '3245klnlk342n5kln3kl45n',
- uuid: '3425bkjb234k5jb234jk5',
- cpuName: 'arm64',
- headers: {
- 'Content-Type': 'application/x-elf-binary',
- },
- codeId: '12312k3jh123',
- ...params,
- };
- }
|