ajkhoury / SigMaker-x64

IDA Pro 7 compatible SigMaker plugin
535 stars 88 forks source link

Infinity loop in function AutoGenerate( ea_t dwAddress, qSigVector& refvecSig ) #15

Closed bananasss00 closed 6 years ago

bananasss00 commented 6 years ago

loop here: do { .... //for some reason vecSig.size() can be 0 then HasOneHitSig all time return false -> infinity loop } while (HasOneHitSig( vecSig ) == false);

for example: in current csgo release 11.07.2018 client.dll. search sig for address .text:1046E3A6

mb this fix? if (nTotalCount < 1 || vecSig.size() < 1) // vecSig.size() { hide_wait_box( );

        if (Settings.iLogLevel >= 2)
        {
            msg( "automated signature generation failed. Unable to proceed.\n" );
        }

        return false;
    }
bananasss00 commented 6 years ago

https://www.upload.ee/files/8670562/client_-_offset_.text.1046E6C6.zip.zip.html

.text:1046E6C6