Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSVC bug #2045

Closed
Wker666 opened this issue Oct 26, 2024 · 2 comments
Closed

MSVC bug #2045

Wker666 opened this issue Oct 26, 2024 · 2 comments

Comments

@Wker666
Copy link

Wker666 commented Oct 26, 2024

在拉取最新的代码中以及release中,正常的编译执行程序是没有问题的,但是在调试程序时会出现内存访问错误
1

>	unicorn.dll!tcg_out8(TCGContext * s, unsigned char v) 行 161	C
 	unicorn.dll!tcg_out_opc(TCGContext * s, int opc, int r, int rm, int x) 行 609	C
 	unicorn.dll!tcg_out_push(TCGContext * s, int reg) 行 1064	C
 	unicorn.dll!tcg_target_qemu_prologue(TCGContext * s) 行 3680	C
 	unicorn.dll!tcg_prologue_init_x86_64(TCGContext * s) 行 841	C
 	unicorn.dll!tcg_exec_init_x86_64(uc_struct * uc, unsigned int tb_size) 行 1224	C
 	unicorn.dll!machine_initialize(uc_struct * uc) 行 56	C
 	unicorn.dll!uc_init_engine(uc_struct * uc) 行 284	C
 	unicorn.dll!uc_mem_map(uc_struct * uc, unsigned __int64 address, unsigned __int64 size, unsigned int perms) 行 1267	C
 	test_x86.exe!uc_common_setup(uc_struct * * uc, uc_arch arch, uc_mode mode, const char * code, unsigned __int64 size) 行 15	C
 	test_x86.exe!test_x86_in() 行 124	C
 	test_x86.exe!acutest_do_run_(const acutest_test_ * test, int index) 行 1027	C
 	test_x86.exe!acutest_run_(const acutest_test_ * test, int index, int master_index) 行 1234	C
 	test_x86.exe!main(int argc, char * * argv) 行 1832	C

@wtdcode
Copy link
Member

wtdcode commented Oct 26, 2024

#1841

@Wker666
Copy link
Author

Wker666 commented Oct 26, 2024

#1841

thanks

@Wker666 Wker666 closed this as completed Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants