Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22046

Is there any way to extract asserts from C files?

$
0
0

Is there a simple way to extract the inside of the assert functions from C files?

For example -

assert(cred->keytab == NULL);/*assert(1==1);*/

The output should be -

cred->keytab == NULL

I'm looking for something like xgettext just for the assert functions.


Viewing all articles
Browse latest Browse all 22046

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>