$ ./tests/library-sidecar.spec.ts
libFile:libfactorial-x64.so
spawnTarget:/bin/sleep,10
00:12:10 ERR Sidecar guardRetType() NativeType(uint64) does match the design type "undefined"
file:///home/huan/git/huan/sidecar/src/decorators/ret-type/guard-ret-type.ts:43
throw new Error([
^
Error: The FactorialSidecar.factorial()
decorated by "@RetType(uint64, ...)"
does match the design return type "void"
at guardRetType (file:///home/huan/git/huan/sidecar/src/decorators/ret-type/guard-ret-type.ts:43:11)
at retTypeMethodDecorator (file:///home/huan/git/huan/sidecar/src/decorators/ret-type/ret-type.ts:41:5)
at file:///home/huan/git/huan/sidecar/examples/dynamic-library/factorial-sidecar.ts:12:28
Upgraded Frida:
However, the CI is still failing with some decorator unit tests.
Need to be investigated.