Lines Matching refs:syscalls

61             block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
64 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
110 self.arch.syscalls['read'],
118 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
121 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
124 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
127 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
130 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
133 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
136 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
139 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
142 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
152 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
155 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
158 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
161 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
164 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
167 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
170 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
173 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
176 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
212 self.arch.syscalls['read'],
216 self.arch.arch_nr, self.arch.syscalls['read'],
224 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'], 0,
227 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'], 0,
230 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'], 1,
233 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'], 1,
241 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
249 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
252 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
255 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
263 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
271 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
279 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
292 self.arch.syscalls['read'], prot)[1],
297 self.arch.syscalls['read'], prot)[1],
339 self.arch.syscalls['read'], 0)[0],
341 self.arch.syscalls['close'], 0)[0],
365 self.arch.syscalls['read'], 0)[0],
367 self.arch.syscalls['close'], 0)[0],
371 self.arch.syscalls['read'], 0)[1], 'ALLOW')
374 self.arch.syscalls['close'], 0)[1], 'ALLOW')
390 self.arch.syscalls['read'], 0)[1], 'KILL_THREAD')
397 syscalls = dict(
399 random.sample(self.arch.syscalls.keys(), num_entries),
404 '%s: %d' % s for s in syscalls.items())
406 '%s: 1' % s[0] for s in syscalls.items())
416 for name, number in self.arch.syscalls.items():
418 if name in syscalls else 'KILL_PROCESS')
438 syscalls = dict(random.sample(self.arch.syscalls.items(), num_entries))
443 '%s: arg0 == %d' % s for s in syscalls.items())
451 for name, number in self.arch.syscalls.items():
453 if name in syscalls else 'KILL_PROCESS')
456 self.arch.syscalls[name], number)[1],
460 self.arch.syscalls[name], number + 1)[1],
469 syscalls = {}
474 for name in random.sample(self.arch.syscalls.keys(), num_entries):
476 syscalls[name] = values
487 for name, values in syscalls.items():
490 self.arch.arch_nr, self.arch.syscalls[name],
494 self.arch.syscalls[name], 1025)[1],