Commit graph

16 commits

Author SHA1 Message Date
Dean
59b38e6efa
Add /*<type>*/ comments everywhere (#2986)
Adds /*<type>*/ comments and a linter check from rz-bindgen to enforce
their existence and consistency

Also includes the following fixes made when adding the annotations:
* removed unused intern_table arguments in pyc_dis.c, pyc_dis.h, asm_pyc.c
* removed unused classes argument from place_nodes in agraph.c
* removed unused recurse and recurse_bb functions in canalysis.c
* removed unused vars field from RzPrint struct
* removed unused RzAnalysisType* structs from rz_analysis.h
* removed unused list field from RzEgg struct
* fixed bug in bp_plugin.c where duplication-checking logic iterates over the wrong list
* removed unused q_regs field from RzDebug struct
* removed unused backtrace field from RzDebugPlugin struct
* removed unused classes_list field from RzBinNXOObj struct
* removed unused methods_list and classes_list fields from RzBinZimgObj struct
2022-09-11 13:04:53 +08:00
Giovanni
c89b12a046
Removed plenty of eprintfs in rz_core (#2950) 2022-08-29 00:32:17 +08:00
Riccardo Schirone
fd3a79f9e3 bin: remove Ldr plugins
RzBinLdrPlugins were not used. There was just one for Linux, but it was
not doing anything.
2022-07-20 22:04:02 +02:00
Giovanni
648882d544
Add libmspack and add idpx to extracts compressed pdb (#2728)
* Add libmspack, cabextract and add idpx to extracts compressed pdb
* Remove cabextract from CIs since it is not anymore required.
2022-06-27 23:52:07 +02:00
Anton Kochkov
574607ee62 Convert some command calls to the API 2022-05-25 20:32:50 +08:00
Riccardo Schirone
41c9bfc2ae RzBin: fix string scan vaddr/paddr
* Fix convertion of paddr to vaddr by using the new RzBin API
  rz_bin_object_p2v
* Fix locations of strings when RzBinXtr is used (e.g. fatmach)
2022-05-06 18:09:17 +02:00
Riccardo Schirone
659bf11fce RzCore: add iSS. command 2022-05-06 18:09:17 +02:00
Giovanni
f87025d1e8
Remove cb_printf() from RzBin (#2446)
* Remove `cb_printf()` from RzBin
* Removed `bin.rawstr` from `rz-bin`
* Dropping `izzz` since does the same as `izz`
* Fix PE one section executables
* Fix behaviour of BFLT, LE, and SMD bin plugins
2022-03-26 20:30:55 +08:00
Riccardo Schirone
78bbf5ba80
RzCore: remove as many #include .c as possible in cmd.c (#2378) 2022-03-17 10:30:57 +08:00
Riccardo Schirone
37805dd012
RzCmd: add support for dynamic arg choices (#2362) 2022-02-25 11:40:24 +00:00
GustavoLCR
01335057af Make first parameter of rz_bin_pdb_download() be RzBin 2022-01-23 11:10:42 +01:00
GustavoLCR
6e0ca49377 Remove unused pdb.useragent 2022-01-23 11:10:42 +01:00
Giovanni
9c830435d6
Fix #1952 - Implement iR <hashes> (#1979) 2021-11-15 14:30:48 +01:00
Anton Kochkov
c4c6073074
Various memory leaks and UAF fixes (#1876)
* Fix CID 359880
* Fix CID 359879
* Fix CID 359878
* Fix CID 358605
* Fix CID 358598
* Fix CID 358593
* Fix CID 358591
* Fix CID 358591
* Fix CID 358574
* Fix CID 358573
* Fix CID 358570
* Fix CID 358561
* Fix CID 358551
* Fix CID 358551
* Fix CID 358541
* Fix CID 358531
* Fix CID 358525
* Fix CID 358521
* Fix CID 357819
* Fix CID 357816
* Fix CID 357646
* Fix CID 357646
* Fix CID 357645
* Fix CID 357643
* Fix CID 356605
* Fix CID 356312
* Fix CID 354046
* Fix CID 354036
* Fix PDB unit tests
2021-10-24 10:22:30 +08:00
Aswin C
54b6e53feb
Convert ec to the rzshell (#1809)
* Convert `ec` to the rzshell
* Port the `echo` command
* Make the `color` argument optional for `ecHw`
* Remove `rz_core_echo`
* Make `echo` a part of `e` commands
* Add tests for `eco` and `ecHw`
* Move the definition of `bool2status` to `cmd_eval.c`
* Fix `ecHj` and add a test for it
2021-10-22 13:33:35 +08:00
Anton Kochkov
036f1490d0 Move command handlers to librz/core/cmd 2021-10-18 18:00:17 +08:00
Renamed from librz/core/cmd_info.c (Browse further)