Compare commits

..
Author SHA1 Message Date
pancake 5d77df7091 Release 1.6.2 2026-11-06 01:26:23 +01:00
pancake 722793f084 Fix -Wsign-compare in decompiler output truncation check 2026-11-05 12:51:12 +01:00
5 changed files with 6 additions and 5 deletions

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
name: CI
env:
R2V: 6.2.4
R2V: 6.2.6
permissions:
contents: write
@@ -89,7 +89,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Python
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: 3.12.x
+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Python
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: 3.12.x
+1
View File
@@ -1,3 +1,4 @@
.pmai/
build/
bin/
third_party/
+1 -1
View File
@@ -1,7 +1,7 @@
project(
'r2hermes',
'c',
version: '1.6.0',
version: '1.6.2',
license: 'MIT',
default_options: [
'c_std=c11',
+1 -1
View File
@@ -2962,7 +2962,7 @@ Result _hbc_output_code(HermesDecompiler *state, DecompiledFunctionBody *functio
for (HbcTokenString *si_iter = R_VEC_START_ITER (&function_body->statements); si_iter != R_VEC_END_ITER (&function_body->statements); si_iter++) {
size_t si = (size_t) (si_iter - R_VEC_START_ITER (&function_body->statements));
/* Stop when budget exhausted or earlier phase (pass2) flagged it. */
if (state->output_truncated || (state->options.max_output_bytes > 0 && r_strbuf_length (out) >= state->options.max_output_bytes)) {
if (state->output_truncated || (state->options.max_output_bytes > 0 && r_strbuf_length (out) >= (size_t)state->options.max_output_bytes)) {
state->output_truncated = true;
if (!state->truncation_marker_emitted) {
state->truncation_marker_emitted = true;