Commit Graph

  • 2f2bf8d96f add cpu model to architectures for rust bindings lockbox 2023-07-13 13:58:14 -04:00
  • 84fe5d1756 expose ffi in rust bindings lockbox 2023-06-15 19:19:39 -04:00
  • e88264c658 Merge pull request #1820 from PhilippTakacs/cow lazymio 2023-07-11 19:24:00 +08:00
  • ab5938b3f6 Update CREDITS.TXT Takacs, Philipp 2023-06-13 11:04:48 +02:00
  • df18756234 implement uc_mem_unmap with snapshots Takacs, Philipp 2023-05-30 16:18:17 +02:00
  • 716c8f1c4c handle snapshots over context_save context_restore Takacs, Philipp 2023-04-11 14:23:38 +02:00
  • e54cf7ee03 find_ram_offset optimization Takacs, Philipp 2023-02-28 16:09:45 +01:00
  • 550265f3c1 snapshot benchmark Takacs, Philipp 2023-01-27 18:31:17 +01:00
  • 80bd825420 implement simple memory snapshot mechanismus Takacs, Philipp 2022-12-22 15:14:07 +01:00
  • 065af19dc5 use address_space_translate to find memory mapping Takacs, Philipp 2022-12-22 12:20:36 +01:00
  • cd85f589a2 add memory_region_add_subregion_overlap Takacs, Philipp 2022-12-16 13:46:24 +01:00
  • aee4038526 Fix test_x86_0xff_lcall test mio 2023-07-07 18:50:55 +08:00
  • f55e7834ba Replace javah by javac -h, only write new constant files if something changes. Robert Xiao 2023-07-06 20:12:36 -07:00
  • 2325f41ead Add a unit test for a7a5d187e7 mio 2023-06-30 20:28:59 +08:00
  • a7a5d187e7 Backport 10b8eb94c0 mio 2023-06-30 20:21:56 +08:00
  • 763d04127c Switch Java bindings to reg2 API. Robert Xiao 2023-06-29 16:37:42 -07:00
  • dfdc8e7e8e Switch to Maven to build the Java bits. Robert Xiao 2023-06-29 16:04:51 -07:00
  • 247d643f2f Restore Py2 compatibility mio 2023-06-28 16:40:43 +08:00
  • d6d1af243f Specify the source directory explicitly mio 2023-06-28 16:40:17 +08:00
  • 75676eb0cd Also rebuild flags for aarch32 mio 2023-06-28 10:39:25 +08:00
  • 3bba11c402 remove all legacy DYNLOAD code Nguyen Anh Quynh 2023-06-22 12:19:06 +08:00
  • d4b92485b1 Remove stale bot lazymio 2023-06-17 23:51:46 +02:00
  • 2198ea4f69 Add comment about unicorn_Unicorn.h to the .c file Robert Xiao 2023-06-17 14:34:25 -07:00
  • d9407c9041 Add a link to the relevant issue for ARM PAC handling Robert Xiao 2023-06-17 14:22:56 -07:00
  • 05f6fb9bf3 Properly check return value of makeHookWrapper Robert Xiao 2023-05-14 19:11:34 -07:00
  • 98f70d3213 Port sample_batch_reg.c to Java, incidentally finding a bug in the generic register implementation. Robert Xiao 2023-05-14 18:37:30 -07:00
  • edd80ddeda Port sample_x86_32_gdt_and_seg_regs over to Sample_x86_mmr Robert Xiao 2023-05-14 17:16:24 -07:00
  • 4f563490e2 Update Java samples to match C samples. Robert Xiao 2023-05-14 16:23:49 -07:00
  • 3739c7e3e0 Write some code to test out ARM64 CP register handling. Robert Xiao 2023-05-13 21:59:05 -07:00
  • 910bb572d3 Accept unsigned BigIntegers, and produce unsigned BigIntegers by default. Robert Xiao 2023-05-13 19:43:39 -07:00
  • d4df61b4c5 Refactor tests and add a few more Robert Xiao 2023-05-13 10:55:13 -07:00
  • 77d4a1d8b1 Fix definition of uc_version Robert Xiao 2023-05-13 00:56:07 -07:00
  • 32e638dcf4 Add more deprecated APIs for backwards compat Robert Xiao 2023-05-12 23:05:35 -07:00
  • 48870c4cc3 Reintroduce hook_del(Hook), since it seems useful. Robert Xiao 2023-05-12 22:43:46 -07:00
  • e787f49d21 Use an incrementing handle instead of returning a raw pointer to the user. Robert Xiao 2023-05-12 23:17:08 -07:00
  • 4764d54250 Javadoc updates Robert Xiao 2023-05-12 22:05:13 -07:00
  • 3fab8abca7 Restore some of the less problematic old APIs for backwards compatibility. Robert Xiao 2023-05-12 21:25:34 -07:00
  • b8bd25030e Javadoc updates Robert Xiao 2023-05-09 02:42:14 -07:00
  • 78de584409 Switch samples to use long instead of Long for registers Robert Xiao 2023-05-07 01:01:58 -07:00
  • aa430587cc Rewrite the Java bindings. Robert Xiao 2023-05-06 17:49:41 -07:00
  • 8777bb6ae6 Make close() idempotent and fix Unicorn memory leak. Robert Xiao 2023-05-05 17:17:44 -07:00
  • 66c8965f96 Set up testing infrastructure ("make test") Robert Xiao 2023-05-05 16:24:45 -07:00
  • 4b471e16e9 Remove redundant Makefile Robert Xiao 2023-05-05 15:31:10 -07:00
  • 9cdb5cb745 Reformat Java bindings. Robert Xiao 2023-05-05 14:32:56 -07:00
  • c5ae96536b Merge pull request #1835 from nneonneo/reg_ops2 lazymio 2023-06-17 21:47:26 +02:00
  • 2b80ab425b Return new UC_ERR_OVERFLOW instead of UC_ERR_NOMEM when reg buffer is too small Robert Xiao 2023-06-16 14:47:03 -07:00
  • b041345a73 Fix RISCV test_riscv32_fp_move test Robert Xiao 2023-05-11 23:39:15 -07:00
  • 30d202b89e Simplify reg_read/reg_write, obtaining a perf boost. Robert Xiao 2023-05-11 22:54:03 -07:00
  • 074566cf69 Slight refactoring to reduce code duplication. Robert Xiao 2023-05-11 20:08:27 -07:00
  • 4055a5ab10 Implement uc_reg_{read,write}{,_batch}2 APIs. Robert Xiao 2023-05-11 12:43:15 -07:00
  • d7a806c026 Reformat code with format.sh Robert Xiao 2023-05-11 12:42:20 -07:00
  • fa1f26138e Fix missing stdint mio 2023-06-10 23:48:18 +02:00
  • 49ccbde2d0 Leave out essential files mio 2023-06-10 23:44:05 +02:00
  • 8dffbc159c Add uc_ctl_get/set_tcg_buffer_size mio 2023-06-10 23:36:02 +02:00
  • f8c7969d65 Revert "Add uc_ctl_get/set_tcg_buffer_size" mio 2023-06-10 23:29:56 +02:00
  • 3145e3c426 Add uc_ctl_get/set_tcg_buffer_size mio 2023-06-10 16:08:29 +02:00
  • 5057f9925b Fix typo mio 2023-06-10 15:26:29 +02:00
  • 9de80cb625 Correct calling convention mio 2023-06-10 15:03:59 +02:00
  • 3d5b2643f0 Support demand paging via closures and seh mio 2023-06-10 14:04:56 +02:00
  • cfaa5be912 Comment out more unused page lock functions Choongwoo Han 2023-05-26 12:52:25 -07:00
  • 7b4dc569cc Merge pull request #1836 from PhilippTakacs/UC_MEM_WRITE_PROT lazymio 2023-05-25 22:41:58 +02:00
  • cd11aed350 Merge pull request #1837 from tunz/apt-update lazymio 2023-05-25 22:41:18 +02:00
  • 67f0386299 Add apt update Choongwoo Han 2023-05-23 13:14:50 -07:00
  • 75d26b7707 Ignore page_collection_lock Choongwoo Han 2023-05-23 13:09:16 -07:00
  • fa457a3a97 fix UC_MEM_WRITE_PROT callback Takacs, Philipp 2023-05-22 15:38:37 +02:00
  • 994813a0e5 Also check cpu->stopped mio 2023-05-19 23:24:42 +02:00
  • be2f092179 Merge remote-tracking branch 'phl/issuevtlb' into dev mio 2023-05-19 23:22:23 +02:00
  • a24e53d794 Rebuild flags after writing to cp registers mio 2023-05-14 13:35:10 +02:00
  • 4a7b3b7a3a fixup! load_helper only call cpu_loop_exit() when emulation is running Takacs, Philipp 2023-05-12 12:28:39 +02:00
  • f65f8f8380 Merge pull request #1830 from nneonneo/fix-python-ctl lazymio 2023-05-11 13:10:01 +02:00
  • 06a76e98c4 Add __repr__ to all ctypes.Structure subclasses Robert Xiao 2023-05-10 12:57:36 -07:00
  • 073c4b74ca load_helper only call cpu_loop_exit() when emulation is running Takacs, Philipp 2023-05-09 14:20:11 +02:00
  • 1d9c5c7653 Merge pull request #1832 from PhilippTakacs/cleanup lazymio 2023-05-09 14:43:07 +02:00
  • 227e578660 move typedef definition of enum uc_mem_type Takacs, Philipp 2023-05-08 15:38:43 +02:00
  • 54870cca0e remove unused function cmp_vaddr Takacs, Philipp 2023-05-08 15:32:58 +02:00
  • d27ca4530b Minor Python fixes. Robert Xiao 2023-05-06 02:07:26 -07:00
  • a998231a0e Fix sample_ctl.py. Robert Xiao 2023-05-06 01:42:15 -07:00
  • bde3cd7dae Merge pull request #1812 from ks0777/ctl_rust lazymio 2023-04-24 16:25:34 +02:00
  • 98b9373937 Merge pull request #1826 from PhilippTakacs/int128 lazymio 2023-04-19 13:50:43 +02:00
  • 7bb1501bc2 use int128_get64 in memory_unmap Takacs, Philipp 2023-04-17 17:33:37 +02:00
  • bbbc7856ac Invalidate tb cache once mapping is removed Mio 2023-04-12 20:56:54 +08:00
  • 2849bc010a Merge pull request #1816 from kassane/clang-getpagesize lazymio 2023-04-10 17:49:55 +08:00
  • 283ff97373 Merge branch 'dev' into uc-py-next Eli 2023-04-09 14:50:29 +03:00
  • a9f0dabc64 rust add tlb callback Philipp Takacs 2023-04-05 11:26:02 +02:00
  • 0729dc0312 rust update uc_ctl_flush_tlb and add uc_ctl_tlb_mode Philipp Takacs 2023-04-05 12:35:05 +02:00
  • 5ff654c77b add rust bindings for uc_ctl Kevin Schneider 2023-03-30 13:44:59 +02:00
  • 2d94e30988 Fix clang/mingw - missing getpagesize Matheus C. França 2023-04-03 10:58:50 -03:00
  • 51a5b68b50 Merge pull request #1746 from PhilippTakacs/virtual_tlb lazymio 2023-03-28 21:17:24 +08:00
  • 45f22085f5 Update comments Mio 2023-03-28 21:17:01 +08:00
  • d403a0346e Update FAQ Mio 2023-03-28 21:16:19 +08:00
  • 0ba69d6b2f Add tlb_mode for python Mio 2023-03-28 15:12:01 +08:00
  • 9c01d23ed3 Update bindings const Mio 2023-03-28 15:09:45 +08:00
  • 9f00bb2ed5 update faq Takacs, Philipp 2023-02-21 14:48:58 +01:00
  • 8b2c477578 clear the TLB cache in uc_ctl_flush_tlb Takacs, Philipp 2023-02-17 14:22:25 +01:00
  • e96ac42b2e Remove MMU hacks Takacs, Philipp 2023-02-13 15:07:40 +01:00
  • e25419bb2d add virtuall tlb Takacs, Philipp 2022-10-05 16:53:24 +02:00
  • 759d694e24 sample to use the softmmu Takacs, Philipp 2022-11-29 17:00:51 +01:00
  • 901034577a i386 call internal helper on special porpese register write Takacs, Philipp 2022-10-17 14:33:10 +02:00
  • 7f1eb4532d add basic mmu tests Takacs, Philipp 2022-10-06 15:53:25 +02:00
  • f2eb1f4711 i386 mmu hack: Allow emulate usermode without mmu Takacs, Philipp 2022-09-29 11:05:25 +02:00