Anton Kochkov
20792311b4
Move rz_core_file_*() API to the cfile.c
2022-09-08 07:41:18 +08:00
Giovanni
c89b12a046
Removed plenty of eprintfs in rz_core ( #2950 )
2022-08-29 00:32:17 +08:00
billow
aaf08869cf
Expose APIs ( #2710 )
...
- `rz_core_bin_get_compile_time`
- `rz_core_analysis_coverage_count`
- `rz_core_analysis_code_count`
- `rz_core_analysis_calls_count`
- `rz_core_sym_name_init`
- `rz_core_sym_name_fini`
- `rz_core_sym_is_export`
- `rz_core_bin_whole_strings`
- `rz_core_analysis_coverage_count`
- `rz_core_analysis_code_count`
- `rz_core_analysis_calls_count`
- `rz_core_analysis_esil_deinit`
- `rz_core_analysis_esil_init_mem_del`
- `rz_core_types_as_c`
- `rz_type_list_c_nl_handler`
- `rz_core_file_open_load`
- `rz_core_config_in_space`
- rename `SymName` -> `RzSymName`
2022-06-21 10:49:42 +08:00
Anton Kochkov
2188b4564d
Various Coverity fixes ( #2615 )
...
* Fix CID 392733 - memory leak
* Fix CID 392732 - memory leak
* Fix CID 392730 - memory leak
* Fix CID 392729 - memory leak
* Fix `rz_analysis_diff_free()` API function
* Fix CID 392685 - memory leak
* Fix CID 392012 - use after free
* Fix CID 391968 - uninitialized pointer read
* Fix CID 391966 - memory leak
* Fix CID 391964 - uninitialized pointer read
* Fix CID 390013 - memory leak
* Fix CID 389939 - memory leak
* Fix CID 379249 - memory leak
* Fix CID 378881 - uninitialized scalar variable
* Fix CID 378973 - uninitialized scalar variable
* Fix CID 378850 - uninitialized scalar variable
* Fix CID 371079 - memory leak
* Fix CID 367478 - memory leak
* Fix CID 366821 - memory leak
* Fix CID 366736 - memory leak
* Fix CID 361684 - uninitialized scalar value
* Fix CID 352581 - memory leak
* Fix CID 352557 - memory leak
* Fix CID 348937 - memory leak
* Fix CID 322229 - memory leak
* Fix CID 320122 - memory leak
* Fix CID 317611 - memory leak
2022-05-15 23:15:28 +08:00
Anton Kochkov
b1e48a0c1c
Various Coverity fixes ( #2499 )
...
* Fix CID 390322 - memory leak
* Fix CID 390031 - memory leak
* Fix CID 390014 - memory leak
* Fix CID 389941 - memory leak
* Fix CID 389093 - memory leak
* Fix CID 389090 - memory leak
* Fix CID 379250 - memory leak
* Fix CID 378897 - unterminated string
* Fix CID 378854 - memory leak
* Fix CID 373736 - memory leak
* Fix CID 371126 - memory leak
* Fix CID 371089 - memory leak
2022-04-05 22:42:36 +02:00
Riccardo Schirone
78bbf5ba80
RzCore: remove as many #include .c as possible in cmd.c ( #2378 )
2022-03-17 10:30:57 +08:00
GustavoLCR
dd81b6629a
Implement getting a backtrace from a Windows Kernel Dump for x64 ( #2387 )
...
* PE: Add header to mappings
* PE: Add temp defs for unknown `UNWIND_CODE_OPS`
* Core Bind: Add `RzCoreBinApplyInfo` binding
* DMP/WinKD: Always add kernel modules to mod list
* Implement Windows x64 SEH backtracing
* Fix `ompb` not prioritizing maps
* Optimize `rz_io_map_priorize()`
* DMP: Implement backtrace for x64
2022-03-15 10:45:02 +01:00
Florian Märkl
bedcf6f354
Add indicator to oml for which map is visible at seek ( #2409 )
...
There may be multiple maps containing the current seek. This indicates
only the highest-priority one, which is also the one whose data is
visible at the seek address.
2022-03-14 08:59:40 +01:00
Riccardo Schirone
2c02457109
Convert o commands to rzshell ( #2281 )
2022-02-07 18:23:31 +01:00
Riccardo Schirone
6c2ee73fe7
Convert 'ob' commands to rzshell ( #2201 )
...
* Use API instead of 'oba' command in rizin.c
* Fix tests and use API instead of 'ob' commands
2022-01-14 08:45:16 +00:00
Riccardo Schirone
afc635f6d1
Convert om commands to rzshell ( #2192 )
...
* removal of `omo` command
* use of `oml`, `oml.` and `oml=` to list maps instead of `om`
* removal of RIZIN output from `oml`
* removal of `omn.` and just assume `omn` uses core->offset
2022-01-11 17:29:20 +01:00
Dhruv Maroo
34d345d884
Format according to clang-format-13
2021-11-25 15:44:28 +08:00
Riccardo Schirone
1acadcf71b
RzShell: convert om-, om-*, om=, oma, omb, omr commands
2021-11-22 12:23:26 +01:00
Riccardo Schirone
ceb8c872e0
RzShell: convert op commands
2021-11-09 11:29:25 +01:00
Riccardo Schirone
3925811c59
RzShell: convert ou command
2021-11-09 09:46:04 +01:00
Riccardo Schirone
e9ef516307
RzShell: convert oa command to rzshell
2021-11-08 15:18:43 +01:00
Riccardo Schirone
3edbde0461
RzShell: convert o= command to rzshell
2021-11-08 15:18:43 +01:00
Riccardo Schirone
9362a498f7
RzShell: convert oL commands to rzshell
2021-11-05 11:58:24 +01:00
Riccardo Schirone
a1ce0f8dd7
RzShell: convert o- commands to rzshell
...
* Remove o-*h because it was the same as o--
* Remove o-! because not used
* Remove unread test case because it was not doing anything (o-fd did
not work)
2021-11-05 11:58:24 +01:00
Anton Kochkov
036f1490d0
Move command handlers to librz/core/cmd
2021-10-18 18:00:17 +08:00