Skip to Content.
Sympa Menu

svadev - Re: [svadev] more safecode questions

svadev AT lists.siebelschool.illinois.edu

Subject: Svadev mailing list

List archive

Re: [svadev] more safecode questions


Chronological Thread 
  • From: John Criswell <criswell AT illinois.edu>
  • To: Matthew Wala <wala1 AT illinois.edu>
  • Cc: svadev AT cs.uiuc.edu
  • Subject: Re: [svadev] more safecode questions
  • Date: Tue, 19 Apr 2011 14:37:42 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/svadev>
  • List-id: <svadev.cs.uiuc.edu>
  • Organization: University of Illinois

On 4/19/11 2:35 PM, Matthew Wala wrote:
Hi everyone:
1) What is the "tag" argument in debug versions of functions used for?

It is a unique identifier added to every run-time check. I allows one to match a run-time failure to an exact failed run-time check in the LLVM bitcode.

2) In what situations does pool allocation insert a null pool handle
for a pointer? When can I expect pool handles to be non-null at
runtime?

For SAFECode, I don't think it should ever insert a NULL pool-handle except for a few really odd cases (e.g., argv arguments). For now, just make NULL pool handles check the ExternalPool.

-- John T.


Matt
_______________________________________________
svadev mailing list
svadev AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/svadev





Archive powered by MHonArc 2.6.16.

Top of Page