I have an OpenCL 2.0 program with various .bin files that I would like to reverse. file shows:

$> file k.bin
k.bin: ELF 64-bit LSB executable, *unknown arch 0x40c* version 1 (SYSV),
corrupted program header size, not stripped. 

I believe these files to be OpenCL kernel files. Opening the file in vim shows many OpenCL references. At the end of the binary blob there are plaintext attributes like this:


What is the best current approach to disassemble these binaries?

1 Answer 1


You may use cuobjdump, nvdisasm, or nvprune, three CUDA binary tools. You can find a full explanation of how to use it on this page.

See also this question in SO (Disassemble an OpenCL kernel?).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.