Commit graph

26 commits

Author SHA1 Message Date
Peiwei Hu
5fa722efab
Refactor RzTable: change the implementation to RzVector (#2536) 2022-04-13 00:57:52 +08:00
Anton Kochkov
d6d214572f
Revert "Refactor RzTable: change the internal storage to RzVector (#2421)" (#2517)
This reverts commit 1748b38ce1.
2022-04-08 18:06:20 +08:00
Peiwei Hu
1748b38ce1
Refactor RzTable: change the internal storage to RzVector (#2421) 2022-04-07 21:13:34 +08:00
Florian Märkl
e2edd9d1ef
Fix many pointer/int conversion warnings on arm32 (#2246)
This is -Wint-to-pointer-cast and -Wpointer-to-int-cast of gcc 10 on
arm32
2022-01-25 11:41:17 +01:00
Anton Kochkov
19b12491d9
Add head and tail for RzVector and RzPVector (#1450) 2021-08-15 22:53:47 +08:00
Florian Märkl
3c0ca68000 Add rz_vector_remove_range() 2021-05-11 09:53:51 +02:00
Florian Märkl
d285f108cc Add Tests for rz_vector_upper_bound() 2021-05-11 09:53:51 +02:00
Florian Märkl
b1dd7cd5f4 Fix Vector Shrink to 0 under ASAN 2021-05-05 21:54:36 +08:00
Florian Märkl
8cbc9ae12e Use rz_array_upper_bound() in rz_bin_source_line_info_get_first_at() 2021-05-03 18:06:59 +02:00
Florian Märkl
16ba65b716 Add and Test rz_array_upper_bound() 2021-05-03 18:06:59 +02:00
Florian Märkl
e6090c574e Split rz_array_lower_bound from rz_pvector_lower_bound and test it 2021-05-03 18:06:59 +02:00
Florian Märkl
b38192bec9 Fix a leak and assert in test_vector 2021-05-03 18:06:59 +02:00
Florian Märkl
d14faa8f72 Add rz_vector_flush() 2021-03-12 09:02:11 +01:00
Riccardo Schirone
53bf5c497f SPDX Copyright text for all files based on history
- Add LICENSES directory
- Download additional licenses used
- Add .reuse directory
- Add doc about SPDX/reuse

Co-authored-by: Florian Märkl <info@florianmaerkl.de>
2021-03-05 19:39:15 +08:00
Anton Kochkov
a0be4e2e64 Run clang-format 2021-01-21 22:05:44 +08:00
Riccardo Schirone
0d7f7d1e01
Move seek history from RzIO to RzCore (#358)
* Remove undo write API, it was not used
* Move seek from IO to Core
* Remove IO undo files
* Fix cursor positionig in visual when doing undo/redo
* Add doxygen doc for rz_core_seek API
* Add cfg.seek.{histsize,silent} evals
* Add unit test for rz_[p]vector_foreach_prev
2021-01-15 13:27:57 +01:00
Riccardo Schirone
a7fd3fa3c6 Use mu_main to reduce boilerplate in unit tests
* Disable colors on Windows because terminal looks bad otherwise
* Use environment on Windows to set PATH and make sure unit tests use
  the compiled libraries and not the installed ones
* Define ssize_t on Windows as well by using SSIZE_T

Update test_analysis_block.c

Update test_intervaltree.c

Update test_unum.c
2021-01-03 11:42:38 +01:00
Liumeo
a512717767 Fix arm32 test_vector_fini (#18063) 2020-12-22 08:26:41 +08:00
Florian Märkl
0d536e1a89
Rename RPVector -> RzPVector 2020-10-02 16:32:35 +02:00
Riccardo Schirone
502e91aff7
Rename R_ and R2_ to RZ_ (#8)
* Rename R2_ -> RZ_
* Rename R_ -> RZ_
* Rename R2R_ -> RZ_TEST_
* Rename R2R defines and types to RZ_TEST/RzTest
* Keep R_ for REIL registers
2020-10-02 16:09:13 +02:00
Riccardo Schirone
721609a17b
Rename to rizin (#2) 2020-10-01 16:13:03 +02:00
pancake
160fc95e66
Use (void) instead of () in function signatures (#17026) ##refactoring
* Use (void) instead of () in function signatures
* Add test to avoid further contributions to commit the same mistake
2020-06-14 16:08:32 +02:00
Riccardo Schirone
58e5aa0887
Enable unit tests compilation by default in meson (#16990)
Including Fixes for Windows
2020-06-04 12:14:15 +02:00
pancake
dcbb114a9d
Add missing r_vector_fini implementation ##util (#16650) 2020-04-21 17:02:45 +02:00
Florian Märkl
efc067bc8b
Remove r_pvector_upper_bound() and add r_vector_lower_bound() (#16629) 2020-04-18 17:35:42 +02:00
Florian Märkl
ae61aa8e37
Imports Tests from radare2-regressions (#15546) 2019-12-08 15:31:14 +01:00