MCPcopy Create free account
hub / github.com/qilingframework/qiling / read

Method read

examples/hello_x86_linux_fake_urandom.py:14–15  ·  view source on GitHub ↗
(self, size)

Source from the content-addressed store, hash-verified

12class Fake_urandom(QlFsMappedObject):
13
14 def read(self, size):
15 return b"\x01" # fixed value for reading /dev/urandom
16
17 def fstat(self): # syscall fstat will ignore it if return -1
18 return -1

Callers 15

one_roundFunction · 0.45
read_until_zeroFunction · 0.45
disasmFunction · 0.45
traceFunction · 0.45
_WriteFileFunction · 0.45
hook_WriteFileFunction · 0.45
my_syscall_writeFunction · 0.45
get_passwordFunction · 0.45
hello_arm_uboot.pyFile · 0.45
_show_contextMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected