CryptoShark is an automated, cross-platform code tracer that uses dynamic recompilation and Frida and Capstone to optimize code without requiring source code. It tracks threads to identify which APIs are being used and provides real-time insight into the functions being called. It can also inject logging and other side-effect code to allow for further study.