Giter VIP home page Giter VIP logo

Comments (3)

jody-frankowski avatar jody-frankowski commented on June 9, 2024

It should be fixed in 61254db
Can you confirm?

from radare2-extras.

XVilka avatar XVilka commented on June 9, 2024

@jody-frankowski Error is still here:

cc -I/tmp/r2/include/libr  -I/include -I. -fPIC   -c -o core_yara3.o core_yara3.c
core_yara3.c: In function ‘r_cmd_yara_scan’:
core_yara3.c:76:3: warning: passing argument 6 of ‘yr_rules_scan_mem’ makes integer from pointer without a cast [enabled by default]
   yr_rules_scan_mem (rules, to_scan, to_scan_size, 0, callback, NULL, 0);
   ^
In file included from core_yara3.c:6:0:
/usr/include/yara.h:703:5: note: expected ‘int’ but argument is of type ‘void *’
 int yr_rules_scan_mem(
     ^
core_yara3.c: In function ‘r_cmd_yara_show’:
core_yara3.c:91:34: error: expected ‘;’ before ‘{’ token
   yr_rules_foreach (rules, rule) {
                                  ^
core_yara3.c: In function ‘r_cmd_yara_tags’:
core_yara3.c:112:33: error: expected ‘;’ before ‘{’ token
   yr_rules_foreach(rules, rule) {
                                 ^
core_yara3.c: In function ‘r_cmd_yara_tag’:
core_yara3.c:140:34: error: expected ‘;’ before ‘{’ token
   yr_rules_foreach (rules, rule) {
                                  ^
core_yara3.c: In function ‘r_cmd_yara_list’:
core_yara3.c:160:34: error: expected ‘;’ before ‘{’ token
   yr_rules_foreach (rules, rule) {
                                  ^
core_yara3.c: In function ‘r_cmd_yara_add_file’:
core_yara3.c:276:2: error: too many arguments to function ‘yr_compiler_add_file’
  result = yr_compiler_add_file (compiler, rules_file, NULL, rules_path);
  ^
In file included from core_yara3.c:6:0:
/usr/include/yara.h:649:5: note: declared here
 int yr_compiler_add_file(
     ^
make: *** [core_yara3.o] Error 1

from radare2-extras.

XVilka avatar XVilka commented on June 9, 2024

Sorry, that was wrong, there was another system-installed copy of Yara 2. After removing it and using only prefixed Yara 3 from git - all ok now: http://ci.rada.re/view/Bindings/job/radare2-yara3/

from radare2-extras.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.