Lub khoos kas antivirus yog daim ntawv thov tshwj xeeb uas tshawb pom cov ntaub ntawv tsis zoo thiab kab mob ua mob rau koj lub khoos phis tawm. Yog tias koj muaj qhov kev txawj ntse sau ntawv, tom qab ntawd koj tuaj yeem sau daim ntawv thov anti-virus koj tus kheej.
Cov Lus Qhia
Kauj ruam 1
Tsim cov qauv yooj yim rau kev tsim koj tus kheej antivirus. Lawv yuav siv ob qho tib si los ntawm qhov khoos kas rau kev tsim cov ntaub ntawv tiv thaiv kab mob thiab los ntawm lub scanner. Ua ntej tshaj tawm, tshaj tawm cov qauv koj xav tau. Qhov thib ib yog kos npe tus qauv. Tom ntej no yog cov qauv tsim ua ke uas ua ke kos npe thiab npe. Xws li lub luag haujlwm ntawm kev faib cov cim xeeb rau lub npe ntawm tus kab mob hauv nws. Tso ob qho qauv rau hauv cov ntawv sau cia.
Kauj ruam 2
Sau cov chav kawm rau kev ua haujlwm nrog cov ntaub ntawv tiv thaiv kab mob. Koj yuav xav tau tsim ob peb chav kawm: hauv paus ntaub ntawv chav kawm, chav kawm nyeem cov ntawv, thiab chav sau ntxiv. Tshaj tawm cov chav kawm no hauv CAVBFile.h cov ntaub ntawv. Muab qhov kev nqis tes ua ntawm cov chav kawm hauv AVBFile.cpp ntawv. Xws li cov ntawv sau header. Koj kuj yuav tsum tau ntxiv ib daim tshev rau lub hav zoov ntawm cov ntawv. Tom qab ntawv siv tus qauv hauv chav kawm rau kev sau ntawv mus rau cov ntaub ntawv.
Kauj ruam 3
Ua raws li cov txheej txheem hauv qab no: yog tias muaj ntaub ntawv qhib thiab nws tsis pom, ces yuav tsim ib cov ntawv tshiab, yuav muab ib daim ntawv sau npe rau nws. Yog tias cov ntaub ntawv muaj nyob, tom qab ntawv kos npe yuav raug tshuaj xyuas thiab tus lej ntawm cov ntaub ntawv yuav nyeem. Ntxiv rau AddRecord kev ua haujlwm ntawm no, uas yuav siv ib qho lus qhia rau cov qauv sau ua ib qhov ntsuas. Txav qhov nkag mus rau qhov kawg ntawm cov ntaub ntawv. Tom qab ntawd, nws yog qhov tsim nyog los ua kom nce cov ntaub ntawv txee.
Kauj ruam 4
Siv ib qho program los ua lub hauv paus sau npe los tiv thaiv tus kab mob. Siv txoj hauv kev mus rau cov kab mob virus, lub chaw khaws ntaub ntawv, thiab ntxiv mus hloov cov kab hauv kab ntawv thiab nws lub npe raws li nws cov cim. Siv cov lus sib cav dua hauv hom A [Tus Nqi], qhov twg A yog qhov tseem ceeb sau, Tus nqi yog tus nqi. Sau cia cov algorithm hauv qab no rau qhov haujlwm txiav txim siab: qhib cov ntaub ntawv malware, taw kev los ntawm kev sib tw, xam qhov hash, thiab ntxiv kev nkag mus rau lub database. Muab cov program program tso rau hauv avrec.cpp.
Kauj ruam 5
Sau cov kaij scanner uas yuav tshuaj xyuas cov ntawv rau malware. Muab cov ntawv ntim nrog lub hauv paus rau hauv daim nplaub tshev qub nrog lub hauv paus thiab npe nws avbase.avb. Siv cov haujlwm ua haujlwm hauv qab no los tsim cov tshuaj tiv thaiv kab mob ua kom yuam kev: rub tawm cov ntaub ntawv khaws tseg, khaws cov npe, sau cov ntawv pov tseg.