Commit graph

7 commits

Author SHA1 Message Date
Riccardo Schirone
1331474286 test: Use rz_file_tmpdir to have temporary dir 2022-07-17 12:11:13 +02:00
Giovanni
6f6ae6e019
Rename rz_arch to rz_platform (#2708) 2022-06-22 17:22:13 +02:00
Dhruv Maroo
a25ef4e9c6
Add rz_deflate* functions and save projects in compressed format (#1446) 2021-08-30 16:54:09 +08:00
Riccardo Schirone
dd38e70964
Add some SPDX headers (#1469)
* Add copyright and license to all librz/include/*.h files in dep5

* SPDX headers for most include files except bin/arch/debug

* Add SPDX headers in asm/arch/{8051,arm}

* Add SPDX header for shlr/gdb include files

* Add SPDX header for shlr/bochs include files

* Add SPDX header for librz/reg

* Add SPDX header for librz/debug/p/native/xnu

* Add SPDX header for librz/debug/p/native/windows

* Add SPDX header for librz/debug/p/native/reg include files

* Add SPDX header for librz/debug/p/native/maps include files

* Add SPDX header for librz/debug/p/native/linux include files
2021-08-17 18:27:03 +02:00
Aswin C
93defcfb4b
Fix the broken integration test for CPU profiles (#1307)
* Use resource packing and fix the broken integration test for CPU profiles
* Use `sizeof` to calculate size and run `clang-format`
* Use `rz_file_temp` to create a temporary SDB file rather than manually naming it
2021-07-15 10:13:57 +02:00
Aswin C
dafa52b48b
RzArch: Fix clang-ci and Coverity warnings (#1302) 2021-07-13 10:15:11 +02:00
Aswin C
a07663a212
Add integration test for CPU and Platform profiles. (#1271)
* Add integration test and a fix Coverity scan issue

* Return `NULL` if `target->platforms` is `NULL` in
`rz_arch_platform_target_new`

* Move the call of the API which adds the flags/comments for both
CPU and platform profiles inside `rz_core_analysis_all()`.

* Use `rz_file_is_directory` instead of `rz_file_exists` for the
integration tests

* Use `RZ_SYS_DIR` on the path while checking for `.tmp` folder

* Add a comma at the end of the list on \`meson.build\`
2021-07-07 15:16:51 +08:00