head	1.6;
access;
symbols
	pkgsrc-2026Q1:1.6.0.10
	pkgsrc-2026Q1-base:1.6
	pkgsrc-2025Q4:1.6.0.8
	pkgsrc-2025Q4-base:1.6
	pkgsrc-2025Q3:1.6.0.6
	pkgsrc-2025Q3-base:1.6
	pkgsrc-2025Q2:1.6.0.4
	pkgsrc-2025Q2-base:1.6
	pkgsrc-2025Q1:1.6.0.2
	pkgsrc-2025Q1-base:1.6
	pkgsrc-2024Q4:1.5.0.14
	pkgsrc-2024Q4-base:1.5
	pkgsrc-2024Q3:1.5.0.12
	pkgsrc-2024Q3-base:1.5
	pkgsrc-2024Q2:1.5.0.10
	pkgsrc-2024Q2-base:1.5
	pkgsrc-2024Q1:1.5.0.8
	pkgsrc-2024Q1-base:1.5
	pkgsrc-2023Q4:1.5.0.6
	pkgsrc-2023Q4-base:1.5
	pkgsrc-2023Q3:1.5.0.4
	pkgsrc-2023Q3-base:1.5
	pkgsrc-2023Q2:1.5.0.2
	pkgsrc-2023Q2-base:1.5
	pkgsrc-2023Q1:1.4.0.18
	pkgsrc-2023Q1-base:1.4
	pkgsrc-2022Q4:1.4.0.16
	pkgsrc-2022Q4-base:1.4
	pkgsrc-2022Q3:1.4.0.14
	pkgsrc-2022Q3-base:1.4
	pkgsrc-2022Q2:1.4.0.12
	pkgsrc-2022Q2-base:1.4
	pkgsrc-2022Q1:1.4.0.10
	pkgsrc-2022Q1-base:1.4
	pkgsrc-2021Q4:1.4.0.8
	pkgsrc-2021Q4-base:1.4
	pkgsrc-2021Q3:1.4.0.6
	pkgsrc-2021Q3-base:1.4
	pkgsrc-2021Q2:1.4.0.4
	pkgsrc-2021Q2-base:1.4
	pkgsrc-2021Q1:1.4.0.2
	pkgsrc-2021Q1-base:1.4
	pkgsrc-2020Q4:1.3.0.24
	pkgsrc-2020Q4-base:1.3
	pkgsrc-2020Q3:1.3.0.22
	pkgsrc-2020Q3-base:1.3
	pkgsrc-2020Q2:1.3.0.20
	pkgsrc-2020Q2-base:1.3
	pkgsrc-2020Q1:1.3.0.16
	pkgsrc-2020Q1-base:1.3
	pkgsrc-2019Q4:1.3.0.18
	pkgsrc-2019Q4-base:1.3
	pkgsrc-2019Q3:1.3.0.14
	pkgsrc-2019Q3-base:1.3
	pkgsrc-2019Q2:1.3.0.12
	pkgsrc-2019Q2-base:1.3
	pkgsrc-2019Q1:1.3.0.10
	pkgsrc-2019Q1-base:1.3
	pkgsrc-2018Q4:1.3.0.8
	pkgsrc-2018Q4-base:1.3
	pkgsrc-2018Q3:1.3.0.6
	pkgsrc-2018Q3-base:1.3
	pkgsrc-2018Q2:1.3.0.4
	pkgsrc-2018Q2-base:1.3
	pkgsrc-2018Q1:1.3.0.2
	pkgsrc-2018Q1-base:1.3
	pkgsrc-2017Q4:1.1.0.20
	pkgsrc-2017Q4-base:1.1
	pkgsrc-2017Q3:1.1.0.18
	pkgsrc-2017Q3-base:1.1
	pkgsrc-2017Q2:1.1.0.14
	pkgsrc-2017Q2-base:1.1
	pkgsrc-2017Q1:1.1.0.12
	pkgsrc-2017Q1-base:1.1
	pkgsrc-2016Q4:1.1.0.10
	pkgsrc-2016Q4-base:1.1
	pkgsrc-2016Q3:1.1.0.8
	pkgsrc-2016Q3-base:1.1
	pkgsrc-2016Q2:1.1.0.6
	pkgsrc-2016Q2-base:1.1
	pkgsrc-2016Q1:1.1.0.4
	pkgsrc-2016Q1-base:1.1
	pkgsrc-2015Q4:1.1.0.2
	pkgsrc-2015Q4-base:1.1;
locks; strict;
comment	@# @;


1.6
date	2025.02.14.16.09.21;	author adam;	state Exp;
branches;
next	1.5;
commitid	5PjUMz4yMgNndsJF;

1.5
date	2023.05.11.06.47.11;	author adam;	state Exp;
branches;
next	1.4;
commitid	BDZP9wof5VXMPvoE;

1.4
date	2021.02.25.19.47.50;	author leot;	state Exp;
branches;
next	1.3;
commitid	xPHyRcusU0tV18JC;

1.3
date	2018.02.26.02.25.28;	author khorben;	state Exp;
branches;
next	1.2;
commitid	BSaF53D08KvssjsA;

1.2
date	2018.02.19.00.39.52;	author kamil;	state Exp;
branches;
next	1.1;
commitid	4bDjRaoo0z985prA;

1.1
date	2015.12.12.01.26.39;	author kamil;	state Exp;
branches;
next	;
commitid	BjW3PYICnXcf4BMy;


desc
@@


1.6
log
@unicorn py-unicorn: updated to 2.1.2

2.1.2

Highlights

macOS arm64 no longer provides binary wheels due to a feature missing from Github Action runners.
py3.8 support is brought back, python2 wheels are built and test as well and we migrate to cibuildwheel! @@Antelox
Several polish to python bindings and implement new API. @@elicn @@droe
Revert previous break changes that return UC_ERR_ARG for non-existing registers. Now this prints a warning. We urge all users relying on this behavior to fix code as soon as possible.
Fix several segment faults, including a few long-standing random segfault issues.
Revive previous unicorn 1 test suite and related refactoring. @@elicn @@Antelox
Optimize memory handling and notdirty writes for faster memory access and snapshots, especially useful for fuzzing. @@PhilippTakacs
RISC-V API updates. @@apparentlymart
fix UC_HOOK_MEM_READ on aarch64. @@glennsec
Support UC_TCG_OP_FLAG_CMP for ARM @@dotCirill
An alternative tag prefixed with "v" is added for golang compatibility.
@
text
@@@comment $NetBSD: PLIST,v 1.5 2023/05/11 06:47:11 adam Exp $
include/unicorn/arm.h
include/unicorn/arm64.h
include/unicorn/m68k.h
include/unicorn/mips.h
include/unicorn/platform.h
include/unicorn/ppc.h
include/unicorn/riscv.h
include/unicorn/s390x.h
include/unicorn/sparc.h
include/unicorn/tricore.h
include/unicorn/unicorn.h
include/unicorn/x86.h
lib/libunicorn.a
lib/libunicorn.so
lib/libunicorn.so.2
lib/pkgconfig/unicorn.pc
lib/unicorn.o
@


1.5
log
@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
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.4 2021/02/25 19:47:50 leot Exp $
d18 1
@


1.4
log
@{,py-}unicorn: Update to 1.0.2

Changes:
1.0.2
-----
- Fix Java binding compilation
- Enable building for ARM little-endian only (ignore big-endian)
- Add uc_context_free() API
- Fix context saving/retoring API (core & Python binding)
- Add cmake option to build Unicorn as a static library
- Fix error handling of mmap()
- uc_emu_start() can be reentrant
- Fix naming conflicts when built with systemd
- Fix setjmp/longjmp on native Windows
- Fix enabled hooks even after deleting them
- X86:
    - Fix 64bit fstenv
    - Fix IP value of 16bit mode
- ARM:
    - Fix APSR handling
- Python: Remove UC_ERR_TIMEOUT
- No longer require Python to build
- Fix recursive UC_HOOK_MEM callbacks for cross pages access
- Remove UC_ERR_TIMEOUT, so timeout on uc_emu_start() is not considered error
- Added UC_QUERY_TIMEOUT to query exit reason
- Fix UAF when deleting hook while in hook callback
- Ensure that hooks are unaffected by a request to stop emulation.
- Fix block hooks being called twice after an early exit from execution.
- Fix binding install on python2 (MacOS)
- X86:
    - Support read/write STn registers
    - Support read/write X64 base regs
- ARM64:
    - Support some new registers
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.3 2018/02/26 02:25:28 khorben Exp $
d7 3
d11 1
d16 1
a16 1
lib/libunicorn.so.1
@


1.3
log
@Package the Python bindings for emulators/unicorn

No functional change intended for Unicorn itself.
Inspired by emulators/keystone and emulators/py-keystone.

Tested on NetBSD/amd64.
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.1 2015/12/12 01:26:39 kamil Exp $
d6 1
@


1.2
log
@unicorn: Update to 1.0.1

upstream changelog
==================
Version 1.0.1
April 20, 2017

    Properly handle selected-architecture build.
    Fix compilation issues on PPC & S390x.
    Fix a memory leak on uc_mem_protect().
    Support ARM big-endian.
    ARM:
        Correct instruction size of Thumb/Thumb2 code.
        Support read/write APSR register.
    ARM64:
        Support read/write NEON registers.
        Support read/write NZCV registers.
    Mips: Support read/write Mips64 registers.
    X86: Support read/write MSR.
    Haskell binding: update to the latest API.
    Python: allow not having PATH setup.

Version 1.0
February 23, 2017

    Lots of bugfixes in all architectures.
    Fix many memory leaking issues.
    New APIs: uc_query, uc_reg_write_batch, uc_reg_read_batch, uc_mem_map_ptr, uc_mem_regions, uc_free, uc_context_alloc, uc_context_save & uc_context_restore.
    New memory hook type: UC_HOOK_MEM_READ_AFTER.
    Add new version macros UC_VERSION_MAJOR, UC_VERSION_MINOR, UC_VERSION_EXTRA.
    Remove glib & pkconfig dependency.
    Windows: export a static lib that can be used outside of Mingw.
    ARM:
        Support MCLASS cpu (Cortex-M3).
        Better support for Thumb mode.
        uc_reg_write now can modify CPSR register.
        Add some ARM coproc registers.
    ARM64: uc_reg_read & uc_reg_write now handles W0-W31 registers.
    X86:
        Fix 16bit address computation.
        Fix initial state of segment registers.
    Windows: fix a double free bug in uc_close.
    3 new bindings: Haskell, MSVC, VB6.
    Python:
        Better support for Python3
        Fix memory leaking that prevents UC instances from being GC.
@
text
@d1 1
a1 1
@@comment $NetBSD$
@


1.1
log
@Import unicorn-0.9 as emulators/unicorn

Unicorn is a lightweight, multi-platform, multi-architecture CPU emulator
framework based on QEMU.

Unicorn offers some unparalleled features:
 - Multi-architecture: ARM, AMM64 (ARMv8), M68K, MIPS, SPARC, and X86 (16, 32,
   64-bit)
 - Clean/simple/lightweight/intuitive architecture-neutral API
 - Implemented in pure C language, with bindings for Python, Java, and Go
 - Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris
   confirmed)
 - High performance via Just-In-Time compilation
 - Support for fine-grained instrumentation at various levels
 - Thread-safety by design
@
text
@a5 1
include/unicorn/platform.h
d11 1
a11 1
lib/libunicorn.so.0
@

