ci: add static analysis, sanitizers, and formatting enforcement #24

Merged
TapTap merged 15 commits from ci/tier1-review-automation into main 2026-07-19 18:10:07 +02:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 413f69de90 - Show all commits
+1 -1
View File
@@ -422,7 +422,7 @@ void* delta_apply(const void* old_data, uint64_t old_size, const Delta* delta,
return NULL; return NULL;
uint8_t* out = (uint8_t*)output; uint8_t* out = (uint8_t*)output;
uint8_t* old = (uint8_t*)old_data; const uint8_t* old = (const uint8_t*)old_data;
uint64_t out_pos = 0; uint64_t out_pos = 0;
for (uint32_t i = 0; i < delta->instruction_count; i++) { for (uint32_t i = 0; i < delta->instruction_count; i++) {
+1
View File
@@ -307,6 +307,7 @@ static void test_large_file_delta() {
else else
match_count++; match_count++;
} }
EXPECT_TRUE(total_literal > 0);
EXPECT_TRUE(match_count > 0); EXPECT_TRUE(match_count > 0);
EXPECT_TRUE(delta->delta_size < new_size / 2); EXPECT_TRUE(delta->delta_size < new_size / 2);