forked from AbleOS/ableos
Edits.
This commit is contained in:
parent
8d5d22eae1
commit
c621a5c71d
|
@ -58,8 +58,8 @@ impl Assembler {
|
||||||
///
|
///
|
||||||
/// There was an issue. You cannot statically check register values and
|
/// There was an issue. You cannot statically check register values and
|
||||||
/// `JAL` instruction could hop at the end of program to some byte, which
|
/// `JAL` instruction could hop at the end of program to some byte, which
|
||||||
/// will be interpreted as opcode and VM in attempt to decode the instruction
|
/// will be interpreted as some valid opcode and VM in attempt to decode
|
||||||
/// performed out-of-bounds read which leads to undefined behaviour.
|
/// the instruction performed out-of-bounds read which leads to undefined behaviour.
|
||||||
///
|
///
|
||||||
/// Several options were considered to overcome this, but inserting some data at
|
/// Several options were considered to overcome this, but inserting some data at
|
||||||
/// program's end which when executed would lead to undesired behaviour, though
|
/// program's end which when executed would lead to undesired behaviour, though
|
||||||
|
|
Loading…
Reference in a new issue