Exakat\Analyzer\Security\CompareHash::analyze PHP Method

analyze() public method

public analyze ( )
    public function analyze()
    {
        // md5() == something
        $this->atomIs('Comparison')->codeIs(array('==', '!='))->outIs(array('LEFT', 'RIGHT'))->atomIs('Functioncall')->codeIs(array('hash', 'md5', 'sha1', 'md5_file', 'sha1_file', 'crc32', 'crypt'))->back('first');
        $this->prepareQuery();
        // if (hash())
        $this->atomIs('Ifthen')->outIs('CONDITION')->atomIs('Functioncall')->codeIs(array('hash', 'md5', 'sha1', 'md5_file', 'sha1_file', 'crc32', 'crypt'))->back('first');
        $this->prepareQuery();
    }
CompareHash