Subject: CVS commit: pkgsrc/emulators
From: Adam Ciarcinski
Date: 2023-05-11 08:47:11
Message id: 20230511064712.018D1FA87@cvs.NetBSD.org

Log Message:
unicorn py-unicorn: updated to 2.0.1.post1

Version 2.0.1

Features:

- Support building & running on BE hosts.
- Fix and support `clang-cl` on Windows.
- Fix python `sdist` and add aarch64 Linux wheels. Note `pip` can build Unicorn2 \ 
on M1 now!
- C# binding is refined and upgraded to .Net 6.

Fix/Improvements:

- Various bindings improvements.
- Improvements for tests.
- Fail explicitly when VEX.L is set.
- Fix endianness when writing PPC32 CR register.
- Fix a bug in `uc_ctl_set_cpu_model` check.
- Fix Tricore PC not updating.
- Fix the mapping not updated if users modify the mappings in the hooks.
- Handle pathological cases consistently.
- Fix memory leaks in PPC target.
- Fix memory leaks in Tricore target.
- Fix MSVC handling in cmake.
- Fix PC sync-ing problems for `UC_HOOK_BLOCK` hooks.
- Fix PC sync-ed twice when users request a soft restart.
- Prevent overflow with pre-allocated RAM blocks.
- Add FPCR and FPSR registers
- Fix ARM CPU state not deep copied.
- Fix PC not sync-ed for memory operation on aarch64.
- Exit invalid store operations early to avoid the target registers being \ 
overwritten.
- Improve the support for ARM BE32.

Version 2.0.0

Features:

- TriCore Support

Fixes/Improvements:

- Build both shared library and static archive as unicorn1 does.
- Misc bindings improvements.
- Make sure setjmp-setjmp-wrapper-win32 participates in the build.
- Improve Rust bindings build logic.
- Fix wrong python binding for UC_CTL_TB_REMOVE_CACHE
- Flush translation blocks when the count hook is removed.
- Fix unicorn crash when nested `uc_emu_start` deletes a hook
- Fix CPU not fully resumed when writing PC.
- Don't quit TB if `uc_mem_protect` doesn't change the protection of current TB \ 
memory.
- Add type annotations for python bindings.
- Add CPUID hook for python bindings.
- Don't repeat memory hooks if there is already an unhandled error.
- Support reads and writes over all Arm SIMD registers
- Fix wrong registers range in python bindings.
- Fix uc_mem_protect on mmio regions
- Fix a UAF caused by hook cache.
- Fix the value collision between UC_MODE_ARMBE8 and UC_MODE_ARM926

Files:
RevisionActionfile
1.5modifypkgsrc/emulators/py-unicorn/Makefile
1.4modifypkgsrc/emulators/py-unicorn/PLIST
1.21modifypkgsrc/emulators/unicorn/Makefile
1.8modifypkgsrc/emulators/unicorn/Makefile.common
1.5modifypkgsrc/emulators/unicorn/PLIST
1.3modifypkgsrc/emulators/unicorn/buildlink3.mk
1.12modifypkgsrc/emulators/unicorn/distinfo
1.1addpkgsrc/emulators/unicorn/patches/patch-bundle__static.cmake
1.3removepkgsrc/emulators/unicorn/patches/patch-Makefile
1.2removepkgsrc/emulators/unicorn/patches/patch-bindings_python_setup.py