qilingframework / qiling

A True Instrumentable Binary Emulation Framework
https://qiling.io
GNU General Public License v2.0
5.14k stars 745 forks source link

get UC_ERR_WRITE_UNMAPPED while same instructions and same value succeeded before in a loop #1404

Closed DockTree closed 1 year ago

DockTree commented 1 year ago

*Describe the bug get UC_ERR_WRITE_UNMAPPED while same instructions and same value succeeded before in a loop

Sample Code

def debug(ql):
    ql.log.info(hex(ql.arch.regs.sp+0x18))
    ql.log.info(ql.arch.regs.v0)
    ql.log.info('123123')
ql = Qiling(argv, rootfs)
ql.hook_address(debug, 0x4bd74c)
ql.run()

Screenshots image image image image image

Additional context I do not know the reason and hope for help the firmware is H3C MiniGRW1A0V100R006