Commit graph

4 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
Anton Kochkov
f386798f14
Fix some of the RzType memory leaks (#1459)
* Fix CID 354646

* Fix CID 354027

* Fix CID 352583

* Fix CID 352577

* Fix CID 352576

* Fix CID 352575

* Fix CID 352573

* Fix CID 352571

* Fix CID 352568

* Fix CID 352562

* Fix CID 352558

* Fix CID 352554

* Fix CID 352552

* Fix CID 352551

* Fix CID 352545

* Fix CID 352542

* Fix CID 352540

* Fix CID 352539

* Fix CID 352537

* Fix CID 352535

* Fix CID 352529

* Fix CID 352526

* Fix CID 352520

* Fix CID 352510

* Fix CID 352508

* Fix CID 352503
2021-08-17 06:40:27 +08:00
Giovanni
eb6b347d6f
Fix Coverity issues on parse/parse_*.c (#1460)
* COV 353912, COV 353908

* COV 353909, COV 353910

* COV 353911
2021-08-16 15:39:59 +00:00
Giovanni
35558f4180
Pseudo refactoring (#1308)
* License fix
* Implemented common pseudo
* Refactored MIPS pseudo
* Refactored ARM pseudo
* Refactored AVR pseudo
* Refactored 6502 pseudo
* Refactored dalvik pseudo
* Refactored arm64 pseudo
* Refactored z80 pseudo
* Refactored TMS320 pseudo
* Refactored v850 pseudo
* Refactored SuperH pseudo
* Refactored Motorola 68K pseudo
* Avoid selecting a pseudo plugin when the arch is not found.
* rz_parse_parse -> rz_parse_pseudocode
2021-07-22 11:55:05 +02:00