37 Commits
Author SHA1 Message Date
Victor M. Alvarez b1072012cf Upgrade macos version in the build workflow. 2026-06-02 09:53:59 +02:00
Victor M. Alvarez b68c43e7e6 Remove converity.yaml.
`covertity-scan-action` seems to be broken and unmaintained.
2026-06-01 12:52:16 +02:00
Victor M. Alvarez bae530c7f0 Remove Bazel as a build system. (#2144)
Bazel was the build system used by VirusTotal. Now that VirusTotal has moved to YARA-X, maintaining the Bazel infrastructure working is painful, specially with the backward incompatible changes introduced in recent versions of Bazel.
2025-04-09 20:44:51 +02:00
Victor M. Alvarez 42297f8595 Disable cache in Bazel build workflow 2024-12-11 11:22:07 +01:00
Victor M. Alvarez f1ca8b754a Rename cache trying to solve issue with Bazel build 2024-12-11 11:19:42 +01:00
Victor M. Alvarez 1fb43ebff2 Upgrade to actions/cache@v4.
GitHub is deprecating versions 2 and 3.
2024-12-11 10:26:05 +01:00
Victor M. Alvarez b61ce3c4a3 Upgrade upload-artifact action to v4 2024-11-26 16:25:46 +01:00
Victor M. Alvarez a8d59da636 Use MacOS 13 in build workflow.
For some reason in MacOS 14 the build fails because the `configure` script is unable to find the Jansson library, even thought it is correctly installed by `brew`.
2024-08-02 10:35:51 +02:00
Victor M. Alvarez 9f3da0911f Use latest MacOS in build workflow. 2024-08-02 10:24:56 +02:00
Victor M. Alvarez 3c93989a5d Try using a specific MacOS version for fixing issue in CI (#2073)
For some reason the jansson library is not being found in the latest MacOS version, even though brew seems to be installing it.
2024-04-30 19:16:22 +02:00
Victor M. Alvarez 4369ca6a1b 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.
2024-02-12 15:23:09 +01:00
Victor M. Alvarez f5edf4e5f5 Run the bigendian GitHub workflow with the code from the current commit (#2036)
Instead of downloading the latest master branch, use the code in the current branch. Until know, this workflow was always operating wit the latest commit in the master branch.
2024-01-30 21:29:10 +01:00
Victor M. Alvarez ff4a923fac Enable macho module when running tests 2024-01-30 17:12:43 +01:00
Victor M. Alvarez a425375e6d Move the bigendian tests as a new step in existing workflow. 2023-02-22 12:48:48 +01:00
Victor M. Alvarez 973402ae6d Add workflow for running tests in big endian platform. 2023-02-22 12:46:16 +01:00
Hilko Bengen a4f48a0b3a Add MacOSX CI build (#1840) 2022-12-19 10:02:47 +01:00
Victor M. Alvarez 299864f28f Don't run jansson tests when building in Bazel.
The ubuntu-20.04 virtual environment for GitHub Workflow  has been upgraded, and this has broken the jansson tests. It looks like the jansson library and the test binaries are being built correctly, but for some reason the tests binaries can't find the library when executed and they fail with the following error:

error while loading shared libraries: libexternal_Sjansson_Slibjansson.so: cannot open shared object file: No such file or directory.
2022-08-24 13:15:11 +02:00
Victor M. Alvarez 514d67599f Specify project in coverity.yml. 2022-06-24 11:09:18 +02:00
Victor M. Alvarez 2df4e6550b Install dependencies and prepare for building before running coverity. 2022-06-24 11:06:52 +02:00
Victor M. Alvarez 81ba918554 Fix branch name in Coverity workflow. 2022-06-24 10:54:04 +02:00
Victor M. Alvarez a2b2448372 Add ending new-line and rename workflow. 2022-06-24 10:51:28 +02:00
Victor M. Alvarez 97c81fdb10 Add GitHub workflow for running Coverity scans. 2022-06-24 10:47:59 +02:00
Victor M. Alvarez 3484fcb60b Fix multiple memory alignment issues. (#1724)
The x86 platform is very forgiving when you access a 16-bits variable stored at a memory address that is not aligned to a 2-bytes boundary, or a 32-bits variable that is not aligned to 4-bytes boundary, and so on. Other platforms, like ARM or Sparc are not that flexible, and accessing a value by dereferencing a pointer that is not aligned to the size of the value causes a processor fault.

This fixes multiple issues caused by pointers that are not aligned to the size of the value.

Fixes: #1700
2022-06-07 09:37:27 +02:00
Victor M. Alvarez 7e00915f15 Make fail_with_error() macro abort the parser on non-recoverable errors. (#1688)
Until now this macro was aborting the parsing with YYERROR, independently of the kind of error. YYERROR aborts the parsing in a recoverable way, allowing the parsing to continue with the next rule. However, some errors like ERROR_INSUFFICIENT_MEMORY may leave the compiler in an inconsistent state and we should not continue with the parsing.
2022-04-21 17:33:10 +02:00
secDre4merandVictor M. Alvarez 605b2edf07 Add maximum size for process memory chunk (#1393)
Co-authored-by: Victor M. Alvarez <[email protected]>
2021-10-28 16:38:04 +02:00
Victor M. Alvarez b1c2b40d11 Minor change in Github workflow name. 2021-09-30 19:21:17 +02:00
Victor M. Alvarez c1d4878e42 Print test suite logs in case of failure. (#1575) 2021-09-30 19:14:54 +02:00
Victor M. Alvarez f83cc28b30 Show tests results in a separate workflow step. 2021-09-30 18:41:20 +02:00
Victor M. Alvarez 1035d533ff Show test-suite.log after running tests in GitHub workflow. 2021-09-30 18:34:29 +02:00
Victor M. Alvarez 0e91b9b4f2 Migrate CI from Travis to GitHub Actions. (#1558) 2021-08-31 13:49:39 +02:00
Leo Neat f56dcf9e25 Turning dry_run off for CIFuzz 2020-03-18 09:25:12 +01:00
Leo Neat 371828d332 Update CIFuzz config 2020-02-20 08:24:27 +01:00
Leo Neat d545444c15 Update CIFuzz config 2020-02-20 08:24:27 +01:00
Leo Neat 61cfaf56f2 Changing zip output to artifacts (#1215) 2020-02-11 19:13:09 +01:00
Leo Neat 09a95c676c Surfacing test cases and stack on failures (#1214) 2020-02-10 22:23:29 +01:00
Leo Neat 2d37d34385 Update workflow to reflect new CIFuzz format (#1212) 2020-02-07 10:11:51 +01:00
Leo Neat 0e524e2251 Adding CIFuzz action to yara (#1210) 2020-02-04 22:49:03 +01:00