TA的每日心情 | 慵懒 2025-6-8 11:40 |
---|
签到天数: 14 天 [LV.3]偶尔看看II

官方人员
- 积分
- 868
|
本贴讲述有关Hezhong AntiVirus技术使用的文档 方便开发者进行开发。
文档基于6.31.02版本。
函数表:
trans(text)
plog(texttype, text)
这些函数在导入最基本的库后就立即设定。
writecfg(datatext, xx, xx2)
virusnamedecode(name)
softwareexit()
softwest()
softwaretp()
在类 VirusScan 中:
init
predict(self, model, fn_list, label, filedata, batch_size=1, verbose=0)
yarascan(self, rule, file, fdb)
getrules(self, rulepath)
md5_scan(self, path, database, fdb)
cscan(self, md5)
pescan(self, db, peo)
loadprotect()
process_monitor_scaner(seter, whitedb, rules, sc, model, proc=None, path=None, mot=False)
process_monitor()
monitor_files(path)
process_string(s, a)
runmonitor()
在 show_noti(path, name) 中
close_window()
countdown(button, window, ti)
在 show_noti2(name) 中
close_window()
countdown(button, window, ti)
在类 Watch_FileMonitor(FileSystemEventHandler) 中:
init
on_created(self, event)
on_modified(self, event)
show_popup(self, file_path, virus_name)
mbrmonitor()
reg_mot2()
reg_mot()
在 setyq() 中:
onheur()
offheur()
onyara()
offyara()
onfileprotect()
offfileprotect()
onprocessp()
offprocessp()
onmbr()
offmbr()
onscan_skip_big_file()
offscan_skip_big_file()
onregw()
offregw()
onpe()
offpe()
onc()
offc()
tw_down()
gz_down()
offdlw()
ondlw)(
lang_en()
lang_cn()
CloseEvent
在类 guiscan 中:
init
getfilepathgui(self)
setrun(self)
find_lastfile(self, folder)
geli(self)
govirusscan(self, autostart=False, stpath=None)
scan_a_file(file, model, md5db, yardb, Avscanclass, useyara, useheur, whitedb, usec, usepe)
start_scan(stpaths='')
scaners(fileer)
update2check()
update1check()
geliqu()
about()
在类UpdateProtectText_1(PyQt5.QtCore.QThread)中:
init
run(self)
在类UpdateProtectText_m(object)中:
update(self, msg)
maingui()
cfbutton1()
cfbutton1()
cfbutton1()
|
|