How to use Cuda-memcheck when wrapper function is written in another language

I had a quick question. I have worked some with CUDA before - but I have not used cuda-memcheck. I have an illegal memory access and so was going to use cuda-memcheck to help debug but my only issue is that the wrapper functions are written in another language and I was not quite sure how to proceed. I am also running on a Linux system and so I am not quite sure what command I should be using. Thanks!