Question: In some operating systems, when programs deallocate memory pages, those memory pages can beallocated to other programs without any changes. In such cases, other malicious

In some operating systems, when programs deallocate memory pages, those memory pages can be allocated to other programs without any changes. In such cases, other malicious programs can read the value stored in memory pages, which can cause information leakage. To avoid such an information leak due to environment storage, we can augment the Varlang language with a lete (encoded let) expression that encodes the value before storing in environment, and dec expression that decodes it prior to using it.

Extend the Varlang programming language to support these two expressions. Implement an encrypted let (lete for let encrypted), which is similar to let but takes an additional parameter key, and a dec expression that is similar to VarExp. All values are stored by encrypting them with a key, and are read by decrypting them with a key.In some operating systems, when programs deallocate memory pages, those memory pages

Step by Step Solution

3.49 Rating (162 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To address this question we first need a basic understanding of the Varlang programming language which is theoretical and not a standard language in use However for educational purposes we can imagine ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related An Experiential Introduction To Principles Of Programming Languages Questions!