[cfe-dev] A patch for chroot checker

章磊 ioripolo at gmail.com
Tue Sep 14 01:09:21 PDT 2010


hi, clang

This patch try to check improper use of chroot.

In order to implement this checker, i add a subclass (SymbolEnv) of
SymbolData to represent some environment variables. Now it contains only one
kind of environment variables(JailKind).Then adds several states to the Jail
Symbol.

This is an experimental checker, and i don't know it is the right way to do
this stuff.

I'll appreciate it if there are any advice about this patch.



-- 
Best regards!

Lei Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100914/70979d16/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chroot.patch
Type: text/x-patch
Size: 11607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100914/70979d16/attachment.bin>


More information about the cfe-dev mailing list