Alex23087 / Failure-SSIL-Analyser

GNU General Public License v3.0
1 stars 3 forks source link

Extend AST for Regular Commands with instructions that work on heap memory #15

Closed Yurand2000 closed 5 months ago

Yurand2000 commented 5 months ago

A new set of atomic commands needs to be included in the analisys tool:

Note that the memory must be accessed only through variables and not through arithmetic expressions which compute the memory location, this is to simplify the analisys rules. Pointer arithmetic and similar can be simulated using more commands. Example: x = [y + 1] becomes z = y + 1; x = [z]

Yurand2000 commented 5 months ago

We are still missing the non-deterministic assignment operator, which we have discussed to be a separate atomic command rather than an expression: x = nondet() or nondet(x)