by Zak · 16y ago · 0 comments
$ ghc --make helloworld.hs
$ strings helloworld|grep ghc|wc -l
19
$ csc helloworld.scm
$ strings helloworld|grep chicken|wc -l
1
There are more telltales that might be harder to mask. Other tools have similar giveaways. It wouldn't be hard to set up an automated test for the most common ones.It would also be possible to look at data structures in memory and detect patterns of access common to specific cross-compilation tools or abstraction libraries.
These techniques don't produce proof beyond a reasonable doubt, but no such proof is required; Apple can and will reject applications that don't meet its standards.