visualfail: off-by-one in getHighlevelCode()
This one omitted mappings to the first static instruction belonging to a high-level source-code line. Change-Id: I14427021e61f27a8b029fb56fad2ba813652422a
This commit is contained in:
@ -260,7 +260,8 @@ function getHighlevelCode()
|
||||
$maxFehler[$val] = 0;
|
||||
}
|
||||
foreach ($value as $index => $ranges) {
|
||||
$InstrMappingAbfrage = "SELECT instr_address, disassemble FROM objdump WHERE variant_id = '" . $_GET['variant_id']. "' AND instr_address > '" . $ranges[0] . "' AND instr_address < '" . $ranges[1] . "' ORDER BY instr_address;";
|
||||
// was ">" instead of ">=" before
|
||||
$InstrMappingAbfrage = "SELECT instr_address, disassemble FROM objdump WHERE variant_id = '" . $_GET['variant_id']. "' AND instr_address >= '" . $ranges[0] . "' AND instr_address < '" . $ranges[1] . "' ORDER BY instr_address;";
|
||||
$mappingErgebnis = mysql_query($InstrMappingAbfrage);
|
||||
//Leerzeile
|
||||
$mapping[$lineNumber] [] = '<br>';
|
||||
|
||||
Reference in New Issue
Block a user