Skip to content

Instantly share code, notes, and snippets.

@akochepasov
Created May 22, 2024 05:13
Show Gist options
  • Save akochepasov/de8311b194bcccac20353dd151231974 to your computer and use it in GitHub Desktop.
Save akochepasov/de8311b194bcccac20353dd151231974 to your computer and use it in GitHub Desktop.
Install symbols for CUDA (obfuscated)
readelf -n /usr/local/cuda/lib64/libcudart.so
# ... Build ID: 70f26eb93e24216ffc0e93ccd8da31612d277030
# Open https://cudatoolkit-symbols.nvidia.com/libcudart.so/70f26eb93e24216ffc0e93ccd8da31612d277030/index.html to find out a filename
wget https://cudatoolkit-symbols.nvidia.com/libcudart.so/70f26eb93e24216ffc0e93ccd8da31612d277030/libcudart.so.12.2.128.sym
eu-unstrip /usr/local/cuda-12.2/targets/x86_64-linux/lib/libcudart.so.12.2.128 libcudart.so.12.2.128.sym –o /usr/local/cuda-12.2/targets/x86_64-linux/lib/libcudart.so.12.2.128
# Or deploy as symbol file
cp libcudart.so.12.2.128.sym /usr/lib/debug/.build-id/70/f26eb93e24216ffc0e93ccd8da31612d277030.debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment