blob: d61d97ddfb86147f89a8794e27c8832c05098e02 [file] [log] [blame] [raw]
export type AsmResultSource = {
file: string | null;
line?: number;
column?: number;
mainsource?: boolean;
};
export type AsmResultLink = {
offset: number;
length: number;
to: number;
};
export type AsmResultLabelRange = {
startCol: number;
endCol: number;
};
export type AsmResultLabel = {
name: string;
range: AsmResultLabelRange;
};
export type ParsedAsmResultLine = {
text: string;
opcodes?: string[];
address?: number;
disassembly?: string;
source?: AsmResultSource | null;
links?: AsmResultLink[];
labels?: AsmResultLabel[];
};
export type ParsedAsmResult = {
asm: ParsedAsmResultLine[];
labelDefinitions?: Record<string, number>;
parsingTime?: string;
filteredCount?: number;
externalParserUsed?: boolean;
objdumpTime?: number;
execTime?: string;
languageId?: string;
};