Commit Graph

1566 Commits

Author SHA1 Message Date
Fangrui Song
6d115eac58 Optimize sdb_array_add_num (#11157) 2018-08-22 02:57:02 +02:00
Paul I
620affc89e Fix some warnings (#11152) 2018-08-20 14:52:02 +08:00
Fangrui Song
dcf7dc74af Optimize sdb_const_anext and sdb_array_contains (#11139)
time (repeat 10 ~/Dev/Bin/radare2/release/binr/radare2/radare2 -p t1 -c
'' -Q a.out) => 1.35s -> 1.28s
2018-08-19 15:51:27 +02:00
David CARLIER
c6f0342a41 Java plugin: add human readable version. (#11118)
When possible adding this to the lang value
of the javac compiler used with.
2018-08-17 12:25:42 +02:00
David CARLIER
ada6a28ed9 Fix #11102 Attempt. (#11108)
When attributes are not read from Java class, there
is a risk of pointer dereference when freeing
afterwards.
2018-08-16 11:04:01 +02:00
Rafael Rivera
3f0d377123 Ensure we use correct platform path sep (fixes #11063) (#11064) 2018-08-13 11:45:40 +02:00
Andry
dfc4734103 sdb update 2018-08-11 23:24:56 +02:00
Riccardo Schirone
4b2e1359ab
shlr/meson: use source path to store capstone directory (#10993)
* shlr/meson: use an option to chose whether to use builddir or not
2018-08-10 10:31:17 +02:00
Fangrui Song
66e1e1e415 meson: disable unused grub fs/*.c files (#10983)
The old versions of affs.c btrfs.c have warnings.
2018-08-08 09:04:23 +02:00
AsFaBw
84852de244 Fix 10811 - Improvements in gdbclient breakpoints (#10940) 2018-08-07 12:15:11 +02:00
Riccardo Schirone
201c360b10 meson: copy most of the stuff out of sdb dir (#10961)
we need to handle sdb meson.build file with subprojects. For now I'm
extracting most of its current content here, so that it will be easier
to update sdb later.
2018-08-07 12:12:19 +02:00
Fangrui Song
594a438741 meson: don't compile inclusion-only .c files (#10928) 2018-08-05 17:32:05 +02:00
Andry
6601ccb583 Fix #10895 - tcc infinite loop 2018-08-04 13:17:29 +02:00
Khairul Azhar Kasmiran
672b2a3850
Add hvaddr to iee(j) output; haddr -> hpaddr (#10899)
* iee(j): add hvaddr

* haddr -> hpaddr

* Minor realignment
2018-08-04 08:17:37 +08:00
pancake
0d6647e4f0 Add sys/meson.py --nosudo (use sudo by default) 2018-08-01 03:12:33 +02:00
pancake
7b66d5f9dd Java undefined opcodes must be lowercase 2018-08-01 00:57:36 +01:00
d4em0n
3524f8b8ca Fix #10813 breakpoint kind when send to gdbserver and fix continue/stepping in gdbclient (arm) (#10818) 2018-07-31 09:37:20 +01:00
pancake
8e2803c182 Fix #10855 - Update sdb 2018-07-30 11:07:12 +01:00
Riccardo Schirone
d98c5b9080
shlr/meson.build: use master branch for capstone on meson build too (#10832) 2018-07-30 08:51:47 +02:00
Riccardo Schirone
d37e35a7ad
fix switch from capstone next branch to master (#10815)
* fix switch from capstone next branch to master
* shlr/capstone.sh: re-clone only if different branch
2018-07-25 17:58:53 +02:00
Alyssa Milburn
2c8901752f Add gdb support for v850 (#10809) 2018-07-24 14:59:07 +02:00
Riccardo Schirone
961ae4323c shlr/capstone: update it to fix sparc issue 2018-07-24 15:28:42 +08:00
Riccardo Schirone
0ad5497c72 fix sstream-null capstone patch 2018-07-24 15:28:42 +08:00
Riccardo Schirone
97b20da54f capstone: use master branch since v4 has been merged there now 2018-07-24 15:28:42 +08:00
Paul I
b50080b363 Meson: remove build_always for custom_targets (#10798) 2018-07-23 19:39:58 +02:00
Riccardo Schirone
4c23d64380
shlr/meson.build: fix used capstone and download it in build directory (#10782)
* shlr/meson.build: fix used capstone and download it in build directory
* shlr/meson.build: check return value of run_command and use git-apply
2018-07-23 14:39:10 +02:00
pancake
7a8d2a4f75 Update sdb from git 2018-07-19 16:36:27 +02:00
Riccardo Schirone
c932d1abff
meson fixes (#10743)
* r2pm/meson.build: install r2pm
* meson.build: use system libraries when available
* travis: add fedora-sys to the list of things to test
* bin_nso.c: still include lz4.c when not on meson
* Dockerfile.travis: add required system dependencies to dockerfile
* meson.build: split zip_dep in libzip and zlib dependencies
* shlr/meson.build: zip needs zlib
2018-07-17 23:01:40 +02:00
pancake
5553f2ec34 Fix warning in type cast 2018-07-17 17:43:20 +02:00
pancake
9c83d304cc Fix several bugs in java class parser and recent changes in the disasm loop 2018-07-16 13:06:24 +02:00
pancake
29801802d1 Upgrade capstone 2018-07-16 09:43:33 +02:00
pancake
4eec87cdf6 More warnings fixed 2018-07-14 10:58:19 +02:00
pancake
2c85194e7a Fix some warnings 2018-07-14 10:45:55 +02:00
Riccardo Schirone
02f9ddefd1
plugins on meson build (#10716)
* asm: use path macros whenever possible
* meson.build: sync asm and bin plugins with Makefile
* shlr/meson.build: apply capstone patches
2018-07-13 18:19:56 +02:00
Riccardo Schirone
7572f315ea
meson improvements (#10617)
* meson.build: fix meson build when not on git
* meson.build: make capstone a dependency
* meson.build: make r_magic library optional
* meson.build: capstone include is already in the dependency
* meson.build: use dependencies instead of manual linking + includes
* meson.build: add travis
* flag/meson.build: include sdb dependency
* travis-script: print messages based on install system
* io/meson.build: add sdb as dependency
* syscall/meson.build: missing sdb dependency
* {parse,config}/meson.build: add sdb dependency
* travis.yml: pass INSTALL_SYSTEM var to docker
* {bin/shlr}/meson.build: add sdb_dep to r2java and bin
* install meson and ninja-build in r2-travis docker
* travis.yml: allow meson build to fail for now
* anal/meson.build: add sdb and java dependencies
* egg/meson.build: add sdb dependency
* travis.yml: meson build env should be also in the includes list
* core/meson.build: add java dep
* meson.build: use dependencies also to create main r2 dependency
* rasm2/meson.build: replace link_with with dependencies
* rasm2/meson.build: add sdb as dependency
* meson.builds: convert link_with to dependencies and fix tabs
* travis-script: change meson install prefix and set PKG_CONFIG_PATH
* travis-script: add lib64 to LD_LIBRARY_PATH
2018-07-09 16:58:38 +02:00
radare
dbd046be1e
Upgrade capstone (#10660) 2018-07-09 09:23:09 +02:00
pancake
cdbdcaf47b Fix #10602 - oobread crash in java parser 2018-07-04 17:14:04 +02:00
pancake
a55eda166d Fix #10595 - Fix another oobread in the java parser 2018-07-04 17:09:39 +02:00
pancake
ddc9d0a1ef Fix #10596 - oobread in java parser 2018-07-04 17:04:57 +02:00
pancake
aa04965546 Fix #10586 - Fix oobread in r_bin_java_enclosing_methods_attr_new 2018-07-04 16:59:50 +02:00
pancake
ad5699f63f Fix #10604 - another oobread crash in the java parser 2018-07-04 16:52:05 +02:00
pancake
862a089e43 Revert "Fix #10559 - Overflow in java class parser"
This reverts commit 9cc6dd8fb0.
2018-07-04 15:48:47 +02:00
pancake
afeac9bdca Fix #10603 - oobread crash in java class parser 2018-07-04 15:42:58 +02:00
pancake
812b96a66c Fix #10605 - Remove spaguetti and finish the null deref fix in the java class parser 2018-07-04 11:58:22 +02:00
pancake
d521ba905d Fix #10560 - oobread crash in java class parser 2018-07-02 13:11:19 +02:00
pancake
9cc6dd8fb0 Fix #10559 - Overflow in java class parser 2018-07-02 13:06:20 +02:00
pancake
18c9541216 Fix #10563 - Fix null deref in java 2018-07-02 13:02:59 +02:00
pancake
9d85d55b8d Fix #10561 - null deref in java 2018-07-02 12:56:07 +02:00
radare
e9ce0d64fa
Fix #10498 - Fix crash in fuzzed java files (#10511) 2018-06-27 13:56:59 +02:00
Brenton Morris
e25b62fb03 Fix a few memory leaks for windbg (#10504) 2018-06-27 00:57:56 +02:00