Commit graph

11 commits

Author SHA1 Message Date
rizan21
f5668b2359 Changes in .clang-format
* requires clasue will now format in a single line
2023-01-25 22:02:26 +08:00
rizan21
cc18d675e6 Use clang-format 15 instead of 14 2023-01-25 22:02:26 +08:00
Giovanni
02d57928f6
Fix DEX & Java Coverity reports (#1568)
* CID 355574: Resource leak (RESOURCE_LEAK)

* CID 354859, CID 354871, CID 354878: Dereference after null check (FORWARD_NULL)

* CID 354867: Explicit null dereferenced (FORWARD_NULL)

* CID 355572: Dereference after null check (FORWARD_NULL)
CID 355575: Use after free (USE_AFTER_FREE)

* CID 355576: Use after free (USE_AFTER_FREE)

* Fixed typo
2021-09-02 00:24:24 +08:00
Anton Kochkov
8b7822bd58
Fix some of the Coverity reports (#1501)
* Fix CID 355574
* Fix CID 355087
* Fix CID 354877
* Fix CID 354875
* Fix CID 354868
* Fix CID 354874
* Fix CID 354666
* Fix CID 354864
* Fix CID 354665
* Fix CID 354646
* Fix CID 352578
* Fix CID 352571
* Fix CID 352553
* Fix CID 352501
* Fix CID 352494
2021-08-23 18:38:37 +08:00
Giovanni
e3e4d5cc12
Fix double free in class_attribute.c (#1486)
* return when fail in java_attribute_set_localvariabletable
* return when fail in java_attribute_set_linenumbertable
2021-08-19 16:01:20 +02:00
Alexis Ehret
1c7daaf12e
Modification of rz_buf_read* API (#1440)
* Small cleanup RzBuffer constructors
* Small cleanup RzBuffer methods
* Refactor rz_buf_read* for a better error handling
* Add documentation for RzBuffer API ##doc
2021-08-16 18:23:46 +08:00
Florian Märkl
3b71efc42c Fix some MSVC Warnings 2021-04-20 21:07:08 +02:00
wargio
1d491048c0 Optimized java code (less mem) and added attribute to strings 2021-04-16 18:25:17 +08:00
wargio
38b9c98891 Fix Coverity CID 316793 2021-04-15 11:06:37 +02:00
Giovanni
037c8be6c3
fixed java slow loop on fuzz bin (#895) 2021-03-23 17:47:17 +01:00
Giovanni
7cfddb1da8
Java rewrite with LGPL license (#804)
* Rewritten RzBin java plugin (LGPL3)
* Rewritten java_core.c (LGPL3)
* Rewritten java RzAsm plugin (LGPL3)
* Rewritten java RzAnalysis plugin (LGPL3)
* Resolve constant_pool.<index> when rzbin is available.
* Updated tests with proper ones
* Support java <1.0.2 (i.e. OAK) file format
* Added constant pool resolver `javar`
* Added tests from java 1.7 to 15
2021-03-19 22:00:19 +08:00