Jonathan Todd
Jonathan Todd
Windows 11 Pro, not at PC but can provide more detailed info later On Sun, May 22, 2022 at 20:19 Chris Long ***@***.***> wrote: > @jt0dd Can you provide OS/Provider/etc...
Maybe the solution is simpler than I make it out to be. I tried tinkering with various examples from the documentation like: ``` class MyPipe(): def __init__(self): self.buf = b''...
@wtdcode "Why do I get a wrong PC after emulation stops? PC is only guaranteed to be correct if you install UC_HOOK_CODE. This is due to the fact that updating...
@cq674350529 but look at the code I posted. I'm already using that hook. Do I need to use some function to stop execution?
@wtdcode It doesn't seem to work: ```python def stop(ql, data): print('hooked invalid fetch') ql.stop() return False ql.hook_mem_fetch_invalid(stop) ql.run() ``` that log in the hook func never prints. The output I...
> I think you should return `True` to prevent it from continuing. Yeah maybe but I just tried that, the issue is the hook never gets called, at least not...
> Don't use `print` to print out status or progress; use `ql.log.info` [or `ql.log.warning` if you want it to stand out to spot it easily] Thanks, tried this. I see...
> Ping me on TG channel and I'll try to help there. I will this evening but I'm in an environment where I can't access my mobile phone. Any chance...
@elicn So I tried `ql.ql_hook(UC_HOOK_MEM_FETCH_UNMAPPED, stop)` and it didn't do anything so I went into the project code to find where that binding is happening and how its handled, found...
Oh no... The next place I have to go is going to be inside qemu isn't it? And it seems to be C code. I haven't learned much C yet...