Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com> Co-authored-by: Kaoru0822 <208281322+kaoru0822-kitauji@users.noreply.github.com>
19 lines
529 B
JavaScript
19 lines
529 B
JavaScript
import { pageFacts } from "./fact-reads.mjs";
|
|
|
|
export const selectStringFacts = (inventory, input) => ({
|
|
...pageFacts(
|
|
inventory.items.filter((row) => row.value.includes(input.query)),
|
|
input,
|
|
["address", "string"],
|
|
),
|
|
coverage: {
|
|
scope: "native string inventory, minimum 5",
|
|
scanned: inventory.scanned,
|
|
examined: inventory.items.length,
|
|
matching: "literal_utf16",
|
|
source_scope: "whole native inventory",
|
|
artifact_discovery: "unknown",
|
|
reference_attribution: "not-computed",
|
|
},
|
|
});
|