You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I run make after ./configure --with-debug-verbose=2 I get the following error:
CC proc/linux.lo
In file included from proc/linux.c:42:proc/linux.c:
In function 'yr_process_get_next_memory_block':
proc/linux.c:408:7: error: 'result' undeclared (first use in this function)
408 | result,
To fix this, I had to add the following line const uint8_t* result = NULL;
in the function yr_process_get_next_memory_block in libyara/proc/linux.c
Versions affected: yara 4.2.0 and yara 4.2.1
The text was updated successfully, but these errors were encountered:
I think that you should change the format too, now there is a warning:
proc/linux.c:407:7: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'YR_MEMORY_BLOCK'
If I run
make
after./configure --with-debug-verbose=2
I get the following error:To fix this, I had to add the following line
const uint8_t* result = NULL;
in the function
yr_process_get_next_memory_block
in libyara/proc/linux.cVersions affected: yara 4.2.0 and yara 4.2.1
The text was updated successfully, but these errors were encountered: