Changes between Version 18 and Version 19 of Language


Ignore:
Timestamp:
05/18/23 22:20:00 (3 years ago)
Author:
siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Language

    v18 v19  
    512512=== `$havoc`
    513513
    514 === `$hidden`
     514Assigns an arbitrary value of the object's type to an object.  Signature:
     515{{{
     516$system void $havoc(void *ptr);
     517}}}
     518In the concrete semantics, this function assigns an arbitrary value of the appropriate type to the object pointed to by `ptr`.
     519
     520In the symbolic semantics, this function assigns a fresh symbolic constant of the appropriate type to the object pointed to by `ptr`.
     521
     522===  Hiding pointers from the reachability analyzer: `$hide`, `$hidden`, and `$reveal`
     523
     524
     525{{{
     526$abstract void* $hide(const void* ptr);
     527$system _Bool $hidden(const void* ptr);
     528$system void* $reveal(const void* ptr);
     529}}}
    515530
    516531=== `$hide`
     
    549564=== Power function: `$pow`
    550565
    551 Computes ''x^y^``.
     566Computes ''x^y^''.
    552567{{{
    553568$system double $pow(double base, double exp);