Skip to content

test: Add G_REGEX_RAW to the test case where invalid UTF-8 can form

In compare_impl_regex_to_g_regex, there is a for (int i = 0; i <= subject_len; i++) for testing several possible start_position's.

However, in this case, taking substrings like this creates invalid UTF-8 strings, this confuses GLib and causes test failures in RISC-V machines.

this MR also fixes incorrect bitflag operations in translate_compile_flags

Edited by Moody

Merge request reports