( debugSteps: AuthenticationProgramStateCommon[], instructions: AuthenticationInstruction[], )
| 344 | |
| 345 | // eslint-disable-next-line @typescript-eslint/no-unused-vars |
| 346 | const logDebugSteps = ( |
| 347 | debugSteps: AuthenticationProgramStateCommon[], |
| 348 | instructions: AuthenticationInstruction[], |
| 349 | ): void => { |
| 350 | debugSteps.map((step) => { |
| 351 | const opcode = instructions[step.ip] ? bytecodeToAsm(encodeAuthenticationInstruction(instructions[step.ip])) : 'null'; |
| 352 | console.warn(step.ip, opcode, step.stack, step.error); |
| 353 | }); |
| 354 | }; |
| 355 | |
| 356 | const getFinalExecutedVerifyIp = (executedDebugSteps: AuthenticationProgramStateCommon[]): number => { |
| 357 | // Map every executed debug step to its corresponding instruction |
nothing calls this directly
no test coverage detected