Hi Everyone,

I stubbed out some code generation tests at 
http://github.com/weidai11/cryptopp/blob/master/cryptest.sh#L365 and 
http://github.com/weidai11/cryptopp/blob/master/cryptest.sh#L636. The idea 
is to disassemble a function and then look for instruction mnemonics. The 
principal is sound but its failing in practice because of C++ name mangling.

There's kind of a solution at 
http://stackoverflow.com/questions/12400105/getting-mangled-name-from-demangled-name
 
. But in practice, its tough for us to build the mangled names on the fly 
because it depends on what code path is activated, and it moves around from 
platform to platform.

Are there any suggestions on verifying code generation?

Jeff

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to