Reverse engineer anything with agents, from app behavior down to native binaries.
TypeScript agent-skillsai-agentsbinary-analysisclaude-codeclicodexcordisdecompilerdeveloper-toolsdshdsh-pluginghidrahopperllmmcpmodel-context-protocolreareverse-engineeringstatic-analysistouhou
/** Expected format-boundary failures from bounded Swift metadata reads. */
export const expectedSwiftMetadataReadFailure = (
cause: unknown,
): string | null => {
if (cause instanceof RangeError) return cause.message;
if (
cause instanceof TypeError &&
"code" in cause &&
cause.code === "ERR_ENCODING_INVALID_ENCODED_DATA"
)
return cause.message;
return null;
};