ObfSec: Measuring the security of obfuscations from a testing perspective