From a8fb537a88fdbe77cdcbaa05ee28d1cad94550da Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Wed, 21 Apr 2021 08:28:00 -0700 Subject: . --- html/linux/bootstrap/034check_operand_bounds.cc.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'html/linux/bootstrap/034check_operand_bounds.cc.html') diff --git a/html/linux/bootstrap/034check_operand_bounds.cc.html b/html/linux/bootstrap/034check_operand_bounds.cc.html index 11670f19..1dbbd872 100644 --- a/html/linux/bootstrap/034check_operand_bounds.cc.html +++ b/html/linux/bootstrap/034check_operand_bounds.cc.html @@ -7,11 +7,11 @@ - + @@ -93,7 +93,7 @@ if ('onhashchange' in window) { 35 trace(3, "transform") << "-- check argument bounds" << end(); 36 for (int i = 0; i < SIZE(code.lines); ++i) { 37 const line& inst = code.lines.at(i); - 38 for (int j = first_argument(inst); j < SIZE(inst.words); ++j) + 38 for (int j = first_argument(inst); j < SIZE(inst.words); ++j) 39 check_argument_bounds(inst.words.at(j)); 40 if (trace_contains_errors()) return; // stop at the first mal-formed instruction 41 } @@ -103,7 +103,7 @@ if ('onhashchange' in window) { 45 for (map<string, uint32_t>::iterator p = Operand_bound.begin(); p != Operand_bound.end(); ++p) { 46 if (!has_argument_metadata(w, p->first)) continue; 47 if (!looks_like_hex_int(w.data)) continue; // later transforms are on their own to do their own bounds checking - 48 int32_t x = parse_int(w.data); + 48 int32_t x = parse_int(w.data); 49 if (x >= 0) { 50 if (p->first == "disp8" || p->first == "disp16") { 51 if (static_cast<uint32_t>(x) >= p->second/2) -- cgit 1.4.1-2-gfad0