Beispiel #1
0
function deAspisWarningRC($var)
{
    //    if (AspisIsTaintedR($var)) {
    //        die("Tainted function calls untainted with (partially) tainted data:\n<br>".debug_backtrace());
    //    }
    return deAspisRCO($var);
}
Beispiel #2
0
 public function current()
 {
     if ($this->taintedToUntainted) {
         return attAspisRCO($this->it->current());
     } else {
         return deAspisRCO($this->it->current());
     }
 }
Beispiel #3
0
function AspisUntainted_get_object_vars($o)
{
    if ($o instanceof AspisProxy) {
        $vars = get_object_vars($o->obj);
        foreach ($vars as $k => &$v) {
            $v = deAspisRCO($v);
        }
        return $vars;
    } else {
        return get_object_vars($o);
    }
}