Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. type TestObject object {
  2. string field = "";
  3.  
  4. function setField(string newVal) {
  5. self.field = newVal;
  6. }
  7. };
  8.  
  9. TestObject G = new();
  10. public function main (string… args) {
  11. G.setField(args[0]); // method invocation taint global object 'G'
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement