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

Add Renesas RH850 architecture support #1918

Open
wants to merge 267 commits into
base: dev
Choose a base branch
from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jan 10, 2024

  1. Fix RH850 test for 32bits host arch

    Damien Cauquil committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    f163edc View commit details
    Browse the repository at this point in the history
  2. Fix register size for read/write access through unicorn.

    Damien Cauquil committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    31b8d83 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    53b86eb View commit details
    Browse the repository at this point in the history
  4. Fix a bug in RH850 release function

    Damien Cauquil committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    ef18fe6 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. Ported Qemu RH850 architecture to Unicorn (untested code, compilation…

    … OK).
    Damien Cauquil committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    3e8125c View commit details
    Browse the repository at this point in the history
  2. Improved RH850 integration

    - Fixed some bugs in unicorn building system
    - Added RH850 unit test file
    - Modified instruction decoding routine to handle emulation end address
    Damien Cauquil committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    f8f1a93 View commit details
    Browse the repository at this point in the history
  3. Removed hook-related code (causes some issues for now).

    Damien Cauquil committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    4abc05b View commit details
    Browse the repository at this point in the history
  4. Added RH850 UC_HOOK_CODE support.

    Damien Cauquil committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    12d2edb View commit details
    Browse the repository at this point in the history
  5. Added memory read/write hook.

    Damien Cauquil committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    98f851d View commit details
    Browse the repository at this point in the history
  6. Added memory read/write hooks in RH850 sample code.

    Damien Cauquil committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    a101296 View commit details
    Browse the repository at this point in the history
  7. Backported some bugfixes into Unicorn RH850 implementation.

    Damien Cauquil committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    4b5e9bf View commit details
    Browse the repository at this point in the history
  8. Fixed som bugs in RH850 sample and changed SP register to be an alias…

    … of R3 instead of R2.
    Damien Cauquil committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    b7430dd View commit details
    Browse the repository at this point in the history
  9. Updated python bindings RH850 registers constants

    Damien Cauquil committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    b3d7f0c View commit details
    Browse the repository at this point in the history
  10. Updated all RH850 regs constants files.

    Damien Cauquil committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    2ad2ab1 View commit details
    Browse the repository at this point in the history
  11. Removed temporary virtual env.

    Damien Cauquil committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    9650388 View commit details
    Browse the repository at this point in the history
  12. Code cleaning.

    Damien Cauquil committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    f3b6e41 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    ac82b7f View commit details
    Browse the repository at this point in the history
  14. Add msvc target configuration files for RH850 architecture.

    Damien Cauquil committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    ca88dbf View commit details
    Browse the repository at this point in the history
  15. Fix default float_status struct initialization.

    Damien Cauquil committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    5aa40ba View commit details
    Browse the repository at this point in the history
  16. Removed RH850 from aligned only targets.

    Damien Cauquil committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    b21e745 View commit details
    Browse the repository at this point in the history
  17. Fix RH850 test for 32bits host arch

    Damien Cauquil committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    8ec6709 View commit details
    Browse the repository at this point in the history
  18. Fix register size for read/write access through unicorn.

    Damien Cauquil committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    f2b9de5 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    ee2b4da View commit details
    Browse the repository at this point in the history
  20. Fix a bug in RH850 release function

    Damien Cauquil committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    675ab4c View commit details
    Browse the repository at this point in the history
  21. Fix the inconsistencies following the rebase on branch dev.

    Damien Cauquil committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    d6383d1 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. Add Rust and Zig bindings for RH850.

    Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    4b5387a View commit details
    Browse the repository at this point in the history
  2. remove unused code in PPC & dis-asm.h

    aquynh authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    ac0cbcc View commit details
    Browse the repository at this point in the history
  3. add riscv constants to python binding module

    ks0777 authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    b9ad941 View commit details
    Browse the repository at this point in the history
  4. Fix warning for ./setup.py (unicorn-engine#1756)

    domenukk authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    70d1889 View commit details
    Browse the repository at this point in the history
  5. Fix Rust binding memory leak

    lucagladiator authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    709e604 View commit details
    Browse the repository at this point in the history
  6. Fix insn_in_hook_proxy return type

    Luca Gladiator authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    9528ff8 View commit details
    Browse the repository at this point in the history
  7. Do not search for the RAMBlock in split_region

    The MemoryRegion already contains a pointer to the RAMBlock. So it is
    not necesary to search for it.
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    ae7aed3 View commit details
    Browse the repository at this point in the history
  8. rust only add mmio callback funktion, if callback is requested

    The C function uc_mmio_map() allows to add seperate callback functions
    and userdata for read and write. When the callback functions are NULL
    unicorn don't try to call this functions.
    
    Previous this patch, when i.e. read_callback was None the callback was set
    to mmio_read_callback_proxy and the userdata was set to NULL. On a callback
    the mmio_read_callback_proxy then tried to dereference the userdata and
    caused a segfault.
    
    fixes unicorn-engine#1762
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    62f0f34 View commit details
    Browse the repository at this point in the history
  9. Add arch list feature control in Rust

    Signed-off-by: deadash <[email protected]>
    edsky authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    6fb89a4 View commit details
    Browse the repository at this point in the history
  10. Demand paging on Windows

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    1d581dc View commit details
    Browse the repository at this point in the history
  11. Update comments of the page count

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    9be43f1 View commit details
    Browse the repository at this point in the history
  12. Rename flags to avoid confusion

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    56ce7d6 View commit details
    Browse the repository at this point in the history
  13. bump version to 2.0.2

    aquynh authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    be89be4 View commit details
    Browse the repository at this point in the history
  14. bindings: update version to 2.0.2

    aquynh authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    6dfc6aa View commit details
    Browse the repository at this point in the history
  15. rename memory_mapping() to find_memory_region() and simplify mem_map()

    aquynh authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    7f91786 View commit details
    Browse the repository at this point in the history
  16. Detect AVX2 correctly for MSVC

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    e166e7e View commit details
    Browse the repository at this point in the history
  17. bindings: Rename dotnet project to UnicornEngine

    Add a few more properties to prepare a nuget package
    TSRBerry authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    1799c6f View commit details
    Browse the repository at this point in the history
  18. gh: Publish Nuget for dotnet bindings

    TSRBerry authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    fcfe98e View commit details
    Browse the repository at this point in the history
  19. gh: Publish new packages if bindings get modified

    TSRBerry authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    57e285d View commit details
    Browse the repository at this point in the history
  20. dotnet: Add native unicorn libraries to nuget package

    TSRBerry authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    d6e4efc View commit details
    Browse the repository at this point in the history
  21. gha: List all native libs before packing .Net distribution

    TSRBerry authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    5b404b2 View commit details
    Browse the repository at this point in the history
  22. gha: Fix 7zip extraction arguments

    TSRBerry authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    4a1be88 View commit details
    Browse the repository at this point in the history
  23. gha: Try to fix 7zip extraction errors

    TSRBerry authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    9416548 View commit details
    Browse the repository at this point in the history
  24. gha: Fix unzip extracting to the wrong directory

    TSRBerry authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    23040e8 View commit details
    Browse the repository at this point in the history
  25. gha: Get correct file name before renaming

    TSRBerry authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    0ec8340 View commit details
    Browse the repository at this point in the history
  26. nuget: Build native libraries in jobs

    TSRBerry authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    4cb46ca View commit details
    Browse the repository at this point in the history
  27. gha: Fix master branch check

    TSRBerry authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    44b2035 View commit details
    Browse the repository at this point in the history
  28. gha: Add steps to upload nupkg as artifact & publish to Nuget

    TSRBerry authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    2a9d2b5 View commit details
    Browse the repository at this point in the history
  29. Bump to 2.0.2-rc1 for csharp

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    ec98980 View commit details
    Browse the repository at this point in the history
  30. Fix wrong IP in x86_16 because of cs_base not substracted

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    64c4d80 View commit details
    Browse the repository at this point in the history
  31. Install pkg-config on macos runners

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    0dce4ca View commit details
    Browse the repository at this point in the history
  32. Install deps for macos

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    1bf4f28 View commit details
    Browse the repository at this point in the history
  33. Install pkg-config for other workflows

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    be19b11 View commit details
    Browse the repository at this point in the history
  34. Remove obsolete Brewfile

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    0584227 View commit details
    Browse the repository at this point in the history
  35. [x86] don't hardcode cpuid results

    The cpuid results are set by the selected cpu.
    
    CLOSES unicorn-engine#1787
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    f0ee174 View commit details
    Browse the repository at this point in the history
  36. [dotnet] Set begin > end address for hooks

    tunz authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    68fc3a4 View commit details
    Browse the repository at this point in the history
  37. [dotnet] Fix garbage collected hooks and wrong signature

    tunz authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    eb01d1f View commit details
    Browse the repository at this point in the history
  38. Use libunicorn.so.2 as fallback path

    rhelmot authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    52a4a65 View commit details
    Browse the repository at this point in the history
  39. [dotnet] Add /MT flag for nuget package build

    tunz authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    bcac854 View commit details
    Browse the repository at this point in the history
  40. [dotnet] Support HookDel with native bindings call

    tunz authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    dfe83da View commit details
    Browse the repository at this point in the history
  41. difference between stop_request and quit_request

    quit_request is for internal use. This means the IP register was updated and
    qemu needs to rebuild the translation blocks.
    
    stop_request is set by the user (uc_emu_stop) to indecate that unicorn sould
    stop emulating.
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    1c2c69f View commit details
    Browse the repository at this point in the history
  42. Remove redundant printf

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    b33ffcb View commit details
    Browse the repository at this point in the history
  43. Cache index for find_memory_region

    tunz authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    2860d9b View commit details
    Browse the repository at this point in the history
  44. Fix test failure

    tunz authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    258518d View commit details
    Browse the repository at this point in the history
  45. build: Fixes for Haiku

    * Haiku is fully posix, so can be lumped together with most unix cases
    kallisti5 authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    015b526 View commit details
    Browse the repository at this point in the history
  46. zig consts

    kassane authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    e1a875c View commit details
    Browse the repository at this point in the history
  47. new binding

    kassane authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    9ef079e View commit details
    Browse the repository at this point in the history
  48. Update Cargo.toml

    exclude new binding on rust build
    kassane authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    54e7c7a View commit details
    Browse the repository at this point in the history
  49. Add missing import const in python binding (unicorn-engine#1807)

    Xeonacid authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    0f01462 View commit details
    Browse the repository at this point in the history
  50. make unicorn use the physical addresses

    This allows to emulate code witch fully uses the MMU. This is necesary
    to allow full system emulation.
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    d1576e8 View commit details
    Browse the repository at this point in the history
  51. i386 mmu hack: Allow emulate usermode without mmu

    This basicaly mappes virtual addresses to physical addresses 1:1 when
    the mmu is disabled in the cpu. So you can use the full 64 bit addressspace
    without required to configure the mmu.
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    07a20a1 View commit details
    Browse the repository at this point in the history
  52. add basic mmu tests

    Some simple tests for diffrent mmu.
    Basicly add some tlb entries, enable the mmu try to read from virtual address
    
    The aarm64 test was provided by imre-kis-arm in unicorn-engine#1718
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    0d26992 View commit details
    Browse the repository at this point in the history
  53. i386 call internal helper on special porpese register write

    Some registers writes have side effects. i.e. write to cr3 flush the tlb,
    if the PG bit is set.
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    2d24b1a View commit details
    Browse the repository at this point in the history
  54. sample to use the softmmu

    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    2c0adbc View commit details
    Browse the repository at this point in the history
  55. add virtuall tlb

    this virtuall tlb allows to use mmu indipendent of the architectur
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    1a269ee View commit details
    Browse the repository at this point in the history
  56. Remove MMU hacks

    Unicorn has included some ugly hacks to provide a envirement where vaddr == paddr.
    These hacks where to use the full 64 bit mappings on x86 without init the mmu
    and some memory redirect for MIPS.
    
    The UC_TLB_CPU mode defaults to vaddr == paddr, therfor these hacks aren't
    required anymore.
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    f63af4b View commit details
    Browse the repository at this point in the history
  57. clear the TLB cache in uc_ctl_flush_tlb

    uc_ctl_flush_tlb implies that the tlb is flushed. This change adds
    UC_CTL_TLB_FLUSH which clears the TLB and set the uc_ctl_flush_tlb
    alias to UC_CTL_TLB_FLUSH. Also adds a uc_ctl_flush_tb alias for
    UC_CTL_TB_FLUSH.
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    dbd671c View commit details
    Browse the repository at this point in the history
  58. update faq

    add How can I interact with MMU/TLB
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    1aca0bf View commit details
    Browse the repository at this point in the history
  59. Update bindings const

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    399fd54 View commit details
    Browse the repository at this point in the history
  60. Add tlb_mode for python

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    5f20f93 View commit details
    Browse the repository at this point in the history
  61. Update FAQ

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    4e5e4a9 View commit details
    Browse the repository at this point in the history
  62. Update comments

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    4ba9cc6 View commit details
    Browse the repository at this point in the history
  63. Fix clang/mingw - missing getpagesize

    Based on msys2-packages patch:
    msys2/MINGW-packages#10543
    kassane authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    96636a6 View commit details
    Browse the repository at this point in the history
  64. Invalidate tb cache once mapping is removed

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    89da863 View commit details
    Browse the repository at this point in the history
  65. use int128_get64 in memory_unmap

    This fixes build errors introduced by bbbc785
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    4f7cc47 View commit details
    Browse the repository at this point in the history
  66. add rust bindings for uc_ctl

    ks0777 authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    9c8151a View commit details
    Browse the repository at this point in the history
  67. rust update uc_ctl_flush_tlb and add uc_ctl_tlb_mode

    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    9f57654 View commit details
    Browse the repository at this point in the history
  68. rust add tlb callback

    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    4ab7701 View commit details
    Browse the repository at this point in the history
  69. remove unused function cmp_vaddr

    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    12a241f View commit details
    Browse the repository at this point in the history
  70. move typedef definition of enum uc_mem_type

    forword references to enum types are forbidden in C. Also C++ will
    not build if this is used
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    1934678 View commit details
    Browse the repository at this point in the history
  71. Fix sample_ctl.py.

    Commit 640251e added a size parameter to uc_hook_tcg_op_2, but this was not
    reflected in the Python bindings.
    
    Commit fbf4078 added a len parameter to ctl_remove_cache, but this was not
    reflected in sample_ctl.py.
    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    f0f392c View commit details
    Browse the repository at this point in the history
  72. Minor Python fixes.

    - Match the types of UC_HOOK_CODE_CB and UC_HOOK_INSN_SYS_CB to C
    - Avoid building a new namedtuple class in every call to _hook_insn_sys_cb
    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    70e8550 View commit details
    Browse the repository at this point in the history
  73. Add __repr__ to all ctypes.Structure subclasses

    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    ac66c00 View commit details
    Browse the repository at this point in the history
  74. Rebuild flags after writing to cp registers

    This is buggy as this momemt per unicorn-engine#1789 (comment)
    
    We need either doc this or save more information for a context
    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    277f854 View commit details
    Browse the repository at this point in the history
  75. load_helper only call cpu_loop_exit() when emulation is running

    The load_helper is sometimes called from register writes. When the load
    fails check if emulation is running before jump out of the emulated code.
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    b48f068 View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    beb0c22 View commit details
    Browse the repository at this point in the history
  77. Also check cpu->stopped

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    ad85fb0 View commit details
    Browse the repository at this point in the history
  78. Add apt update

    tunz authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    09f657a View commit details
    Browse the repository at this point in the history
  79. fix UC_MEM_WRITE_PROT callback

    callbacks work on the physical address.
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    ef95824 View commit details
    Browse the repository at this point in the history
  80. Support demand paging via closures and seh

    Reverts 12a7919 which exploits normal tcg mechanism
    
    This uses a trampoline to pass extra data to seh handlers
    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    e2c0dd2 View commit details
    Browse the repository at this point in the history
  81. Correct calling convention

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    6d51bb5 View commit details
    Browse the repository at this point in the history
  82. Fix typo

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    29467bb View commit details
    Browse the repository at this point in the history
  83. Add uc_ctl_get/set_tcg_buffer_size

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    e8ea390 View commit details
    Browse the repository at this point in the history
  84. Revert "Add uc_ctl_get/set_tcg_buffer_size"

    This reverts commit 3145e3c because not
    properly co-authoer-ed.
    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    95b988c View commit details
    Browse the repository at this point in the history
  85. Add uc_ctl_get/set_tcg_buffer_size

    We still need this API because the virtual memory address space of
    
    32 bits os is only 4GB and we default need 1G per instance
    
    Credits to @ZehMatt for original idea
    
    Co-authored-by: ζeh Matt <[email protected]>
    2 people authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    cbd5c0b View commit details
    Browse the repository at this point in the history
  86. Leave out essential files

    Co-authored-by: ζeh Matt <[email protected]>
    2 people authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    a8cddf5 View commit details
    Browse the repository at this point in the history
  87. Fix missing stdint

    Co-authored-by: ζeh Matt <[email protected]>
    2 people authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    234c8c5 View commit details
    Browse the repository at this point in the history
  88. Reformat code with format.sh

    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    c0c7bbc View commit details
    Browse the repository at this point in the history
  89. Implement uc_reg_{read,write}{,_batch}2 APIs.

    These APIs take size parameters, which can be used to properly bounds-check the
    inputs and outputs for various registers. Additionally, all backends now throw
    UC_ERR_ARG if the input register numbers are invalid.
    
    Completes unicorn-engine#1831.
    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    60a995c View commit details
    Browse the repository at this point in the history
  90. Slight refactoring to reduce code duplication.

    This also comes with a performance bump due to inlining of reg_read/reg_write
    (as they're only called once now) and the unlikely() on CHECK_REG_TYPE.
    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    24e47b5 View commit details
    Browse the repository at this point in the history
  91. Simplify reg_read/reg_write, obtaining a perf boost.

    Single reg_read/reg_write is now about 25% faster.
    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    79b5e58 View commit details
    Browse the repository at this point in the history
  92. Fix RISCV test_riscv32_fp_move test

    RISCV FP registers are 64-bit in size, even in 32-bit mode, because they can
    hold doubles. The test even uses the double-precision instruction fmv.d. Thus,
    the reads should be reading 64-bit registers.
    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    62f2d12 View commit details
    Browse the repository at this point in the history
  93. Return new UC_ERR_OVERFLOW instead of UC_ERR_NOMEM when reg buffer is…

    … too small
    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    7807984 View commit details
    Browse the repository at this point in the history
  94. remove all legacy DYNLOAD code

    aquynh authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    5417f0b View commit details
    Browse the repository at this point in the history
  95. Also rebuild flags for aarch32

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    0dbbed8 View commit details
    Browse the repository at this point in the history
  96. Backport qemu/qemu@10b8eb9

    target/i386: Verify memory operand for lcall and ljmp
    
    These two opcodes only allow a memory operand.
    
    Lacking the check for a register operand, we used the A0 temp
    
    without initialization, which led to a tcg abort.
    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    4a31aa3 View commit details
    Browse the repository at this point in the history
  97. Add a unit test for a7a5d18

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    a65ba01 View commit details
    Browse the repository at this point in the history
  98. Fix test_x86_0xff_lcall test

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    dea00f3 View commit details
    Browse the repository at this point in the history
  99. add memory_region_add_subregion_overlap

    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    95a8c19 View commit details
    Browse the repository at this point in the history
  100. use address_space_translate to find memory mapping

    first version has bugs
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    40e398b View commit details
    Browse the repository at this point in the history
  101. implement simple memory snapshot mechanismus

    Uses Copy on Write to make it posible to restore the memory state after a snapshot
    was made. To restore all MemoryRegions created after the snapshot are removed.
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    5b6f81f View commit details
    Browse the repository at this point in the history
  102. snapshot benchmark

    simple benchmark for the snapshots
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    8bb625c View commit details
    Browse the repository at this point in the history
  103. find_ram_offset optimization

    The ram_offset allocator searches the smalest gap in the ram_offset address space.
    This is slow especialy in combination with many allocation (i.e. snapshots). When
    it is known that there is no gap, this is now optimized.
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    8bbc353 View commit details
    Browse the repository at this point in the history
  104. handle snapshots over context_save context_restore

    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    45ac208 View commit details
    Browse the repository at this point in the history
  105. implement uc_mem_unmap with snapshots

    still has todos and need tests
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    07a4ea7 View commit details
    Browse the repository at this point in the history
  106. Update CREDITS.TXT

    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    c40ea5a View commit details
    Browse the repository at this point in the history
  107. vtlb only cache access permisions required for the operation

    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    20e72fb View commit details
    Browse the repository at this point in the history
  108. expose ffi in rust bindings

    lockbox authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    7286e8f View commit details
    Browse the repository at this point in the history
  109. add cpu model to architectures for rust bindings

    lockbox authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    3962a47 View commit details
    Browse the repository at this point in the history
  110. fix: Remove unnecessary use statement that causes warnings

    mlgiraud authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    08a2f04 View commit details
    Browse the repository at this point in the history
  111. fix: update bitflags dependency and fix flippy warnings

    mlgiraud authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    3951ded View commit details
    Browse the repository at this point in the history
  112. fix: Add missing Copy derive

    mlgiraud authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    e5be0e7 View commit details
    Browse the repository at this point in the history
  113. Fix building on Apple Sillicon

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    9ac4287 View commit details
    Browse the repository at this point in the history
  114. Backport qemu/qemu@75b208c

    target/i386: fix operand order for PDEP and PEXT
    
    For PDEP and PEXT, the mask is provided in the memory (mod+r/m)
    operand, and therefore is loaded in s->T0 by gen_ldst_modrm.
    The source is provided in the second source operand (VEX.vvvv)
    and therefore is loaded in s->T1. Fix the order in which
    they are passed to the helpers.
    basavesh authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    c6a3517 View commit details
    Browse the repository at this point in the history
  115. Avoid overwriting tmp0

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    c8f8729 View commit details
    Browse the repository at this point in the history
  116. Add a unit test for unicorn-engine#1717

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    6c5174d View commit details
    Browse the repository at this point in the history
  117. Format code

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    5a461ad View commit details
    Browse the repository at this point in the history
  118. Zig binding

    * zig binding - sample added
    * zig build CI
    * split mingw (shared/static) CI/CD
    * unicorn log added
    * build C/C++ samples
    kassane authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    6774807 View commit details
    Browse the repository at this point in the history
  119. fix: Make functions that deref ptr unsafe

    mlgiraud authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    152ca52 View commit details
    Browse the repository at this point in the history
  120. fix: Wrap uc_hook to not expose ffi types in public api

    mlgiraud authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    0955f54 View commit details
    Browse the repository at this point in the history
  121. fix: Make from handle function unsafe

    mlgiraud authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    3ddfdbc View commit details
    Browse the repository at this point in the history
  122. formating: Use rustfmt style for rust bindings

    mlgiraud authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    56706c1 View commit details
    Browse the repository at this point in the history
  123. refactor: Make rust bindings more rusty

    mlgiraud authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    315ffc7 View commit details
    Browse the repository at this point in the history
  124. feat: Add ctl_context_mode to rust bindings

    mlgiraud authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    b31ad2c View commit details
    Browse the repository at this point in the history
  125. fix: Use correct addresses during memory cow

    mlgiraud authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    06b1cf7 View commit details
    Browse the repository at this point in the history
  126. test: Add test to reproduce cow+vtlb error

    mlgiraud authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    2fb53be View commit details
    Browse the repository at this point in the history
  127. refactor: Make clippy happy

    mlgiraud authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    018a770 View commit details
    Browse the repository at this point in the history
  128. use full prototypes for functions without parameters

    hamarituc authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    30ee541 View commit details
    Browse the repository at this point in the history
  129. fix deprecated storage-class declarations

    hamarituc authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    ac056c4 View commit details
    Browse the repository at this point in the history
  130. fix fxsave fpip value, provide tests

    Dimitris Glynos authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    3d4976f View commit details
    Browse the repository at this point in the history
  131. qemu: fix UBSAN errors in tcg and arm translation

    StalkR authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    0eaafb8 View commit details
    Browse the repository at this point in the history
  132. Fix PPC32 fault when timer-spr access

    Access to TB, DEC registers was lead to crash
    spr_read_decr and others are changed to spr_read_generic
    spr_write_decr and others are changed to spr_write_generic
    dotCirill authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    3e61809 View commit details
    Browse the repository at this point in the history
  133. Reformat Java bindings.

    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    496672b View commit details
    Browse the repository at this point in the history
  134. Remove redundant Makefile

    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    56a58b8 View commit details
    Browse the repository at this point in the history
  135. Set up testing infrastructure ("make test")

    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    11bad18 View commit details
    Browse the repository at this point in the history
  136. Make close() idempotent and fix Unicorn memory leak.

    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    321f48c View commit details
    Browse the repository at this point in the history
  137. Rewrite the Java bindings.

    This brings the Java API up to par with Python feature-wise and substantially
    simplifies the hook implementation, enabling proper bounds-checked hooks.
    
    The rewrite strives for compatibility with the previous API, but there are some
    breaking changes. It is possible to push closer to full backwards compatibility
    if required, at the cost of reintroducing some of the suboptimal designs. Here
    are the main points of breakage:
    
    - ReadHook and WriteHook are gone, replaced simply by MemHook. Hooking valid
      memory accesses now requires a type parameter. This enables fetch and
      read-after hooks with a unified API and a single callback object.
    - mem_read now takes an int, not a long. We are unable to allocate more than 2GB
      in a single request anyway (Java limitation).
    - Instruction hooks now require specifying the instruction explicitly, instead
      of guessing based on the hook type. This is necessary to distinguish
      sysenter/syscall and ARM64 mrs/msr/sys/sysl, without excessively bloating the
      library with redundant hook types. Bounds must also be specified, to support
      bounds-checked instruction hooks.
    - Reading object-type registers (any register larger than 64 bits, or registers
      with special formats) requires a second argument to reg_read. This allows us
      to provide a fast reg_read that returns a long for the common cases, while
      still supporting a more general reg_read for other registers.
    - mem_map_ptr is rewritten to take a *direct* java.nio.Buffer, which enables
      many more use cases than a simple byte array, and improves performance (a
      byte array cannot really be used as a mapped buffer without GC-pinning it,
      which hurts the GC performance).
    - Context handling API is redesigned to be safer and more object-oriented.
    
    A lot of bugs are fixed with this implementation:
    - Unicorn instances can be properly garbage-collected, instead of hanging around
      forever in the Unicorn.unicorns table.
    - Hooks no longer fire outside of their bounds (unicorn-engine#1164), and in fact, hook bounds
      are properly respected (previously, all hooks were just registered globally to
      all addresses).
    - Hooks are substantially faster, as they are now dispatched directly via a
      single method call rather than being indirected through invokeCallbacks.
    - Loading vector registers works now, rather than crashing the VM (unicorn-engine#1539).
    
    Several features are now enabled in the Java implementation:
    
    - All of the current ctl_* calls are implemented.
    - mmio_map is implemented.
    - New virtual TLB mode is implemented.
    - reading/writing Context registers is implemented.
    - New hook types are added: TcgOpcodeHook, EdgeGeneratedHook,
      InvalidInstructionHook, TlbFillHook, and the instruction hooks Arm64SysHook,
      CpuidHook.
    - All known special registers are supported.
    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    6af51b1 View commit details
    Browse the repository at this point in the history
  138. Switch samples to use long instead of Long for registers

    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    cb67fb8 View commit details
    Browse the repository at this point in the history
  139. Javadoc updates

    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    dd3db38 View commit details
    Browse the repository at this point in the history
  140. Restore some of the less problematic old APIs for backwards compatibi…

    …lity.
    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    cd702c4 View commit details
    Browse the repository at this point in the history
  141. Javadoc updates

    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    157b8e0 View commit details
    Browse the repository at this point in the history
  142. Use an incrementing handle instead of returning a raw pointer to the …

    …user.
    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    06c4687 View commit details
    Browse the repository at this point in the history
  143. Reintroduce hook_del(Hook), since it seems useful.

    This also improves backwards compatibility a bit.
    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    f5fe61c View commit details
    Browse the repository at this point in the history
  144. Add more deprecated APIs for backwards compat

    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    39f3ee0 View commit details
    Browse the repository at this point in the history
  145. Fix definition of uc_version

    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    3c0abb8 View commit details
    Browse the repository at this point in the history
  146. Refactor tests and add a few more

    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    da4cdc9 View commit details
    Browse the repository at this point in the history
  147. Accept unsigned BigIntegers, and produce unsigned BigIntegers by defa…

    …ult.
    
    Unsigned BigIntegers are a bit more ergonomic, particularly for bitwise
    operations. reg_write still accepts negative BigIntegers (and will automatically
    sign extend them), but reg_read will produce unsigned BigIntegers by default.
    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    c200fc0 View commit details
    Browse the repository at this point in the history
  148. Write some code to test out ARM64 CP register handling.

    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    c61767e View commit details
    Browse the repository at this point in the history
  149. Update Java samples to match C samples.

    Also add all of the samples as Java tests, referencing the output of the C
    samples.
    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    2af68d8 View commit details
    Browse the repository at this point in the history
  150. Port sample_x86_32_gdt_and_seg_regs over to Sample_x86_mmr

    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    7e9a171 View commit details
    Browse the repository at this point in the history
  151. Port sample_batch_reg.c to Java, incidentally finding a bug in the ge…

    …neric register implementation.
    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    5631771 View commit details
    Browse the repository at this point in the history
  152. Properly check return value of makeHookWrapper

    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    8fe5a48 View commit details
    Browse the repository at this point in the history
  153. Add a link to the relevant issue for ARM PAC handling

    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    bbdd55c View commit details
    Browse the repository at this point in the history
  154. Add comment about unicorn_Unicorn.h to the .c file

    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    03b02b8 View commit details
    Browse the repository at this point in the history
  155. Switch to Maven to build the Java bits.

    Maven is now used to update the constants, build the Java code, call make to
    build the native library, and run all the tests. I have removed the "install"
    and "uninstall" targets; instead, the expectation will be that the JNI library
    will be placed somewhere on java.library.path and the JAR file will be used as
    usual (e.g. in a downstream Maven project, or placed on the classpath of your
    project).
    
    Since Maven is now running our tests, this eliminates the need to bundle test
    dependencies in `testdep`, and makes the project structured more like a typical
    Java project.
    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    5439bb6 View commit details
    Browse the repository at this point in the history
  156. Switch Java bindings to reg2 API.

    This is mostly an extra safety measure; the front-end Unicorn.java should always
    be sending an appropriately-sized buffer.
    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    2b28eda View commit details
    Browse the repository at this point in the history
  157. Replace javah by javac -h, only write new constant files if something…

    … changes.
    
    The const_generator changes help to ensure that e.g. Java rebuilds don't keep
    rebuilding everything.
    nneonneo authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    832fd3c View commit details
    Browse the repository at this point in the history
  158. attach-release

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    e1bbed4 View commit details
    Browse the repository at this point in the history
  159. workflow dispatch

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    79fc048 View commit details
    Browse the repository at this point in the history
  160. refactor

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    2ca59ab View commit details
    Browse the repository at this point in the history
  161. create artifacts folder

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    a1d44f9 View commit details
    Browse the repository at this point in the history
  162. code refactor

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    b08f6a0 View commit details
    Browse the repository at this point in the history
  163. Attach Release

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    1750aba View commit details
    Browse the repository at this point in the history
  164. My-Artifacts Directory

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    0db54b0 View commit details
    Browse the repository at this point in the history
  165. MyArtifacts

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    daab053 View commit details
    Browse the repository at this point in the history
  166. My Artifacts

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    4ecaa5c View commit details
    Browse the repository at this point in the history
  167. refactor yaml

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    32bc61e View commit details
    Browse the repository at this point in the history
  168. refactoring

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    0d23559 View commit details
    Browse the repository at this point in the history
  169. Refactor

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    d6f56b9 View commit details
    Browse the repository at this point in the history
  170. Artifacts redo

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    4ce34fa View commit details
    Browse the repository at this point in the history
  171. build

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    6c16930 View commit details
    Browse the repository at this point in the history
  172. refactor yaml

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    06a8a70 View commit details
    Browse the repository at this point in the history
  173. workflw

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    5a397ce View commit details
    Browse the repository at this point in the history
  174. run-success

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    e0cc863 View commit details
    Browse the repository at this point in the history
  175. release

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    af25c7b View commit details
    Browse the repository at this point in the history
  176. release

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    009ebac View commit details
    Browse the repository at this point in the history
  177. release

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    683825f View commit details
    Browse the repository at this point in the history
  178. prelease

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    de8508e View commit details
    Browse the repository at this point in the history
  179. release

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    fa58132 View commit details
    Browse the repository at this point in the history
  180. prerelease

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    11cafca View commit details
    Browse the repository at this point in the history
  181. release

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    a9f718f View commit details
    Browse the repository at this point in the history
  182. github token

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    7efa2b8 View commit details
    Browse the repository at this point in the history
  183. token

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    0049abc View commit details
    Browse the repository at this point in the history
  184. pre-release

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    652ce5e View commit details
    Browse the repository at this point in the history
  185. Update

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    be69f89 View commit details
    Browse the repository at this point in the history
  186. prelease set

    marameref authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    c7c020c View commit details
    Browse the repository at this point in the history
  187. Always create drafts

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    2b785cf View commit details
    Browse the repository at this point in the history
  188. Add -latomic for arm and riscv64

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    8040429 View commit details
    Browse the repository at this point in the history
  189. Fix typo

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    abe614d View commit details
    Browse the repository at this point in the history
  190. Add -latomic to samples and tests

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    1194c58 View commit details
    Browse the repository at this point in the history
  191. Refine -latomic fix

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    af5c156 View commit details
    Browse the repository at this point in the history
  192. Reflect in pkg-config

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    e9f731f View commit details
    Browse the repository at this point in the history
  193. Also add atomic to samples lib linkage

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    8d5baec View commit details
    Browse the repository at this point in the history
  194. Told QEMU configure to use atomic

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    52a842f View commit details
    Browse the repository at this point in the history
  195. Don't rely on dead code elimination

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    77c84ad View commit details
    Browse the repository at this point in the history
  196. HAVE_ATOMIC128 is defined as a number

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    8daa5af View commit details
    Browse the repository at this point in the history
  197. Revert previous wrong fixes

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    a216191 View commit details
    Browse the repository at this point in the history
  198. Add arm for bad assert implementation

    wtdcode authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    44be21d View commit details
    Browse the repository at this point in the history
  199. fix cow when using uc_mem_write

    memory_cow expect the address and size to be aligned on pagesize.
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    cdf91d7 View commit details
    Browse the repository at this point in the history
  200. fix uc_mem write with cow when using upper half of the address

    uc->target_page_align is a uint32_t. When the binary not will only
    invert the 32 bit of the value. Used this in a binary and operator with
    a uint64_t will case the upper 32bit of the address to be 0. Therefor
    the bug only appears when the upper 32bit of the address are used.
    
    Now a local uint64_t variable is used for the alignemend and the test
    uses a not page alligned address which does not fit in 32bit.
    PhilippTakacs authored and Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    e93519f View commit details
    Browse the repository at this point in the history
  201. Removed hook-related code (causes some issues for now).

    Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    5271fde View commit details
    Browse the repository at this point in the history
  202. Updated all RH850 regs constants files.

    Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    ec35d35 View commit details
    Browse the repository at this point in the history
  203. Fix the inconsistencies following the rebase on branch dev.

    Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    e7e4abb View commit details
    Browse the repository at this point in the history
  204. Add Rust and Zig bindings for RH850.

    Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    8eddd0f View commit details
    Browse the repository at this point in the history
  205. Merge branch 'rh850-arch-fix-ci-new' into rh850-arch

    Damien Cauquil committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    77a09c0 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. Add RH850 constants (mode and arch ID)

    Damien Cauquil committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    087b430 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2024

  1. Add Rust arch and mode constants.

    Damien Cauquil committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    5510fc0 View commit details
    Browse the repository at this point in the history
  2. Add missing comma.

    Damien Cauquil committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    e287d81 View commit details
    Browse the repository at this point in the history
  3. Add missing match case in lib.rs for RH850 architecture (get/set PC r…

    …egister).
    Damien Cauquil committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    ea4b1a5 View commit details
    Browse the repository at this point in the history
  4. Add import of rh850 crate.

    Damien Cauquil committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    098a8e5 View commit details
    Browse the repository at this point in the history
  5. Add missing arch into Cargo.toml and build files.

    Damien Cauquil committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    2006821 View commit details
    Browse the repository at this point in the history
  6. Fix wrong CPU model.

    Damien Cauquil committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    1d150b3 View commit details
    Browse the repository at this point in the history
  7. Fix RH850 mode.

    Damien Cauquil committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    4706798 View commit details
    Browse the repository at this point in the history
  8. Add Rust arch and mode constants.

    Damien Cauquil committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    ab77a27 View commit details
    Browse the repository at this point in the history
  9. Add missing comma.

    Damien Cauquil committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    cfd2f06 View commit details
    Browse the repository at this point in the history
  10. Add missing match case in lib.rs for RH850 architecture (get/set PC r…

    …egister).
    Damien Cauquil committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    63be245 View commit details
    Browse the repository at this point in the history
  11. Add import of rh850 crate.

    Damien Cauquil committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    09f0a7b View commit details
    Browse the repository at this point in the history
  12. Add missing arch into Cargo.toml and build files.

    Damien Cauquil committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    3127013 View commit details
    Browse the repository at this point in the history
  13. Fix wrong CPU model.

    Damien Cauquil committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    69340e6 View commit details
    Browse the repository at this point in the history
  14. Fix RH850 mode.

    Damien Cauquil committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    cbad50f View commit details
    Browse the repository at this point in the history
  15. Merge branch 'rh850-arch-ci' into rh850-arch

    Damien Cauquil committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    f785b3d View commit details
    Browse the repository at this point in the history
  16. Remove test bindings.

    Damien Cauquil committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    4e4181d View commit details
    Browse the repository at this point in the history
  17. Remove python test bindings.

    Damien Cauquil committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    76b44f4 View commit details
    Browse the repository at this point in the history
  18. Merge branch 'rh850-arch-ci' into rh850-arch

    Damien Cauquil committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    fedf2fc View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. Fix the TCG code of V850 SETF instruction.

    Damien Cauquil committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    b115744 View commit details
    Browse the repository at this point in the history