summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-07-08 12:29:36 +0200
committerJo-Philipp Wich <jo@mein.io>2021-07-11 15:49:14 +0200
commit0f69f099dba58e23e6438023619c002cd82eacf2 (patch)
treed6c9f40566043c0d2fc21f519322bab4ad6cda11 /lib
parent6bcc318de336e1cb3264fb306c8ce132b8703ebc (diff)
vm: fix invalid memory access on toplevel function calls
When a function is invoked directly, e.g. through uc_vm_invoke(), the call stack is empty, so avoid accessing the first call frame unless we actually need to, which is only the case if the function is invoked with spread args which can only happen with calls from manged code. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions