IN LINUX: Not sure if it is possible. I have 100 source file, and 100 respective executable files. Now, given the executable file, is it possible to determine, respective source file.
I guess you can give this a try.
readelf -s a.out | grep FILE
I think you can add some grep
and sed
magic to the above command and get the source file name.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With