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