Files
reverse-engineering-anything/src/native/AppleMachoFixups.fixture.ts
T

12 lines
316 B
TypeScript

import { parsePointerFixupsSteps } from "../domain/apple/appleMachoFixups.js";
export const parsePointerFixups = (
...args: Parameters<typeof parsePointerFixupsSteps>
) => {
const steps = parsePointerFixupsSteps(...args);
for (;;) {
const next = steps.next();
if (next.done) return next.value;
}
};