File: Taint.xs

package info (click to toggle)
libtest-taint-perl 1.06-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 168 kB
  • ctags: 126
  • sloc: perl: 499; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 247 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include "ppport.h"

MODULE = Test::Taint               PACKAGE = Test::Taint

void
_taint(...)

    CODE:

        IV i;
        for (i = 0; i < items; i++)
            SvTAINTED_on(ST(i));