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
Is your feature request related to a problem? Please describe.
Many Linux distros provide and distribute libyara.so as a shared library in a separate package from the applications which use Yara. This is advantageous to applications which use libyara since they can benefit from independent updates.
However there is no API in libyara.so which would allow such an application to determine and show the library version of libyara loaded via dlopen() in runtime.
Describe the solution you'd like
Add an API function:
void yr_get_version( int * major, int * minor, int * micro)
{
*major = YR_MAJOR_VERSION;
*minor = YR_MINOR_VERSION;
*micro = YR_MICRO_VERSION;
}
or something similar.
Describe alternatives you've considered
An alternative would be to rebuild all packages using Yara statically, and stop providing libyara.so but this isn't what Linux distros are doing.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Many Linux distros provide and distribute
libyara.so
as a shared library in a separate package from the applications which use Yara. This is advantageous to applications which use libyara since they can benefit from independent updates.However there is no API in
libyara.so
which would allow such an application to determine and show the library version of libyara loaded via dlopen() in runtime.Describe the solution you'd like
Add an API function:
or something similar.
Describe alternatives you've considered
An alternative would be to rebuild all packages using Yara statically, and stop providing libyara.so but this isn't what Linux distros are doing.
The text was updated successfully, but these errors were encountered: