123456789101112131415161718192021222324 |
- import {type DebugFile, DebugFileFeature, DebugFileType} from 'sentry/types';
- export function DebugFileFixture(params = {}): DebugFile {
- 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,
- };
- }
|