refactor: return complete analysis results inline
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import type { JsonValue } from "./jsonValue.js";
|
||||
|
||||
export const ghidraFunctionClassification = () => ({
|
||||
external: false,
|
||||
thunk: false,
|
||||
@@ -40,14 +38,6 @@ export const ghidraReferenceEdge = () => ({
|
||||
kind: ghidraReferenceKind(),
|
||||
});
|
||||
|
||||
export const ghidraBounded = (items: readonly JsonValue[]) => ({
|
||||
items: [...items],
|
||||
total: items.length,
|
||||
returned: items.length,
|
||||
truncated: false,
|
||||
next_offset: null,
|
||||
});
|
||||
|
||||
export const ghidraNativeApiBoundary = (mappingsTruncated = false) => ({
|
||||
available: true as const,
|
||||
provenance: "ghidra-high-function",
|
||||
@@ -173,3 +163,4 @@ export const ghidraFunctionDossier = (
|
||||
],
|
||||
};
|
||||
};
|
||||
import type { JsonValue } from "./jsonValue.js";
|
||||
|
||||
Reference in New Issue
Block a user