Comments (3)
It should be fixed in 61254db
Can you confirm?
from radare2-extras.
@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.
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)
- Heap overflow when disassembling swp files
- Stack Buffer Overflow in disassembling swf in function.
- Switch to gitlab-ci and make it green HOT 1
- Various compilation warnings
- Load structures and types from IDB files in r2idb.py
- spc700 HOT 3
- Yara plugin is not build and tested in CI HOT 5
- Patching stack BOF bug leads a DOS bug again HOT 1
- SWF plugin make radare2 crash at start-up HOT 4
- evm, 'RIOPlugin' {aka 'struct r_io_plugin_t'} has no member named 'lseek'; did you mean 'seek'? HOT 4
- vc4 compilation error HOT 3
- Unicorn initialization parameters change for ARM HOT 1
- Yara does not build HOT 3
- remove bpf? HOT 2
- Corrupted output of EVM bytecode disassembly HOT 6
- Atombios create segmentation fault in r2 fault after installation
- Keystone plugin not found after installation with r2pm HOT 1
- Upgrade python2 scripts to python3 HOT 4
- r2svd line break in SVD files gives errors HOT 3
- Build fails for evm using r2pm HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from radare2-extras.