mirror of
https://github.com/VirusTotal/yara.git
synced 2026-10-11 22:49:58 +00:00
Fix endianness issues in macho module (#2041)
This is backward compatible change that affects the `magic` field. After this change the value in the `magic` field looks exactly as it looks in the file regardless of the endianness of the current platform, if the file starts with `CA FE BA BE` the value in magic is `0xCAFEBABE`, not `0xBEBAFECA` as it used to be in little-endian architectures.
This commit is contained in:
@@ -145,5 +145,6 @@ jobs:
|
||||
./bootstrap.sh &&
|
||||
./configure --disable-proc-scan --enable-macho &&
|
||||
make &&
|
||||
make check
|
||||
make check &&
|
||||
cat test-suite.log
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user