示例#1
0
func init() {
	_ = C.yr_initialize()
}
示例#2
0
func init() {
	code := C.yr_initialize()
	if code != C.ERROR_SUCCESS {
		log.Fatalf("failed to initialize libyara!")
	}
}