...
| Code Block | ||||
|---|---|---|---|---|
| ||||
/* Compile using gcc4.3.3 */
void foo() {
/* Use asmassembly code to retrieve i
* implicitly from caller
* and transfer it to a less privileged file. */
}
...
/* Caller */
foo(i); /* i is fed from user input */
|
...