Commit Graph

16969 Commits

Author SHA1 Message Date
David CARLIER
ec77b63c6f Fix FreeBSD build warning. (#11904) 2018-10-22 17:52:22 +02:00
minhnxd
f95120bb4e Check for NULL on obj member before calling r_list_length (#11894) 2018-10-22 17:26:59 +02:00
pancake
4c6aca5cd7 Add io.r2web, io.r2pipe, fs.io and debug.io for iOS ##build 2018-10-22 01:40:35 +02:00
Florian Märkl
52ff4b4d8e Fix pdJ for asm.xrefs.fold and max 2018-10-21 18:28:44 +02:00
pancake
e6d97d2b27 Fix last clusterfuzz report ##crash 2018-10-21 16:02:36 +02:00
radare
c50357fbe6
Fix the build of the iOS SDK ##build (#11884) 2018-10-21 14:56:56 +02:00
pancake
8ed55d5ea5 ios fixes 2018-10-21 01:41:48 +02:00
Riccardo Schirone
64d16fc506 Some code cleanup and asserts in RBin ##refactor
* libr/bin: no need to allocate RBinOptions on the heap
* bin: start using r_return_* around, that's just the beginning
* bin: remove io_owned since it's not used anywhere
* io: make r_io_bind return nothing
* bin: remove unused functions and simplify r_bin_load_io
r_bin_load_io was calling r_bin_load_io2 with UT64_MAX as sz parameter,
but r_bin_load_io2 just returns false if (st64)sz is less than 0, so
that call is actually useless and can be removed.
* bin/bin: fix some preconditions
* bin/open: fix precondition to check for bin and filename too
2018-10-21 01:27:15 +02:00
Collin Reilly Clark
c595ebe447 remove duplicate word
This address is is not part of the arenas -> This address is not part of the arenas
2018-10-21 01:23:50 +02:00
Jeff Muizelaar
8486599b99 m68k: Properly classify rol/ror/not instructions 2018-10-20 19:59:06 +02:00
pancake
d930ebf298 Fix the build of the static merged shared library ##build
* Remove PIC plugin from static builds, no need to keep fighting
* I will merge asm/anal plugins before someone cares about this
* It's still built as shared, so it can be loaded on startup
2018-10-20 19:48:32 +02:00
pancake
c8c9891ee7 Revert "Fix #11869 by using r_bin_elf_p2v_new (#11876) ##bin"
This reverts commit 8115510ab2.
2018-10-20 19:00:41 +02:00
pancake
f89ee17b24 Fix null deref in aav for static builds 2018-10-20 18:32:38 +02:00
pancake
0b05d6f91e Rewrite libr.a make target without partial-ld ##build 2018-10-20 18:32:38 +02:00
pancake
7d32c05f9a Initial import of the sys/meson-sdk.sh ##build 2018-10-20 12:26:07 +02:00
Khairul Azhar Kasmiran
8115510ab2 Fix #11869 by using r_bin_elf_p2v_new (#11876) ##bin 2018-10-20 12:22:38 +02:00
radare
2ba07cfebd
API cleanup and support RCorebind in RSocket.R2Pipe ##refactor (#11875) 2018-10-20 11:57:54 +02:00
Khairul Kasmiran
c8515c7722 ie: set hvaddr of elf entry0 from hpaddr 2018-10-20 02:20:01 +02:00
pancake
a33fc03725 Fix visual panels glitch and handle 's' in zoom mode ##visual
* And remove dead code
2018-10-20 02:12:30 +02:00
radare
e7d3706b8f
Fix gcc8 warnings and rename core/asm.c to casm.c ##refactor 2018-10-20 01:23:15 +02:00
pancake
018de032ce Fix static build problem with ptrace-wrap 2018-09-09 05:59:24 +02:00
radare
3eeaa1817c
Fix cyclomatic complexity computation when jump tables are involved ##anal (#11840)
* Add asserts and checks to ensure the graph is correct before analysis
* Use correct E-N+2P formulae
* Run afbe right after af to get the jmptbl info loaded asap
2018-10-19 13:55:12 +02:00
radare
6bc3d5562f
Fix #11851 - Cursor and echo glitches in Visual ##visual 2018-10-19 13:42:38 +02:00
Johannes
adde3d54fd Fix build for ptrace-wrap with musl ##port 2018-10-19 02:12:22 +02:00
radare
ff640a3ff6
Fix #11838 - Use op.val in aar and honor asm.var.submin ##anal 2018-10-19 02:08:54 +02:00
MK
3c74828055 Fix #11856 dmh puts "No Heap section" error msg twice (#11857) 2018-10-19 02:02:38 +02:00
Vanellope
297b097827 Removed a really meaningless piece of code (#11861) 2018-10-19 02:00:09 +02:00
Khairul Azhar Kasmiran
856f8bcc8e Fix displaying ESIL function comments in the graph ##visual 2018-10-18 17:23:56 +02:00
davidpolverari
f57a12d6cd Fix #11553 - Remove the R_NOTNULL bad practice ##refactor 2018-10-18 13:10:34 +02:00
Jeff Muizelaar
d34b5a57e4 m68k: Properly classify return instructions (#11848) 2018-10-18 12:43:07 +08:00
radare
136db63c05 Fix help and autocompletion for id* (#11845) 2018-10-18 11:52:33 +08:00
David CARLIER
2d9d4e73e3 Fix #11834 - Check fbsd/nbsd versions for clock_nanosleep ##port 2018-10-18 02:08:46 +02:00
radare
8eba01c534
Support the new Apple Watch arm64_32 mach0 cputype ##bin (#11842) 2018-10-18 01:38:25 +02:00
Riccardo Schirone
55bdcbb94c core/cbin: vaddr/paddr were switched in iz ##bugs (#11839) 2018-10-17 22:40:54 +08:00
pancake
fbd5bb72d4 Fix regexes in sys/release-notes.sh 2018-10-17 12:23:45 +02:00
radare
6edae0226d
Complete mach0.lc.toString for better rabin2 -H ##bin (#11837) 2018-10-17 11:31:08 +02:00
Anton Kochkov
71170a4e9c
PDB switch to R_PACKED and utN types (#11830)
Fix typo, use R_PACKED and use r2 types in the PDB parser
2018-10-17 17:18:18 +08:00
Anton Kochkov
647a6fa439 Clarify BIOS section mapping in comments 2018-10-16 23:47:29 +08:00
Anton Kochkov
6f312e03fc Improve BIOS images loading 2018-10-16 21:04:48 +08:00
Riccardo Schirone
5ba084f7df r_util: use char * instead of void *
On some architectures it is not valid to dereference a void * (I'm
getting this error when trying to compile on ppc64le and s390x), so
let's switch to char *, which is valid.
2018-10-16 12:17:48 +02:00
F3real
70afbcc36e Fix leaks in cbin and cmd 2018-10-16 02:19:40 +02:00
pancake
dc96db9e51 Try clang-format when no uncrustify is found and reindent r_reg with sys/indent.sh 2018-10-16 00:17:44 +02:00
pancake
ec875e8e15 Delete dead code 2018-10-16 00:17:44 +02:00
pancake
4205cdabee Fix memory leaks in RReg 2018-10-16 00:17:44 +02:00
pancake
5a0ca70d7e Fix a null assert in java parser and bring back the libr.pc.acr 2018-10-15 22:14:54 +02:00
Maijin
4440d9fe09 Fix wrong r2 emulate ARM (#11779)
* Fix ARM Carry flag in CMP

- it’s the opposite of borrow, from the docs: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0801a/CIADCDHH.html
2018-10-15 21:48:00 +02:00
pancake
a242f56f76 Fix static build 2018-10-15 21:43:37 +02:00
radare
0e6b1a3c8a
Fix #11807 - Fix segfault in idpi (#11823) 2018-10-15 19:38:21 +02:00
radare
c8356abb03
Add zign hash using sha256 (#11822) 2018-10-15 19:13:18 +02:00
rfc2119
dca5c9e3d7 Fix asm.describe=1 when asm.cmt.right=0 (#11803) 2018-10-15 16:52:14 +02:00