6686 Commits

Author SHA1 Message Date
pancake
7cd127a775 Add http.dietime to kill r2 after N seconds of client inactivity 2014-11-26 16:59:58 +01:00
pancake
8ad3a1714b Fix analysis with afu 2014-11-26 13:34:23 +01:00
pancake
aeafe7f255 Initial 'afu' command 2014-11-26 13:25:23 +01:00
trndr
56ce7b216c Fix regex search 2014-11-26 10:25:56 +01:00
Jeffrey Crowell
a68f08b71f Change the separator character to ';', make regex gadget search multi-chars
- Skip regexp compile if no pattern is provided
2014-11-26 01:16:33 +01:00
pancake
64ad0a40de Add anal.maxreflines option for faster pd
[0x00404845]> e scr.null=1
	[0x00404845]> ?t pd 6999
	4.239001
	[0x00404845]> e anal.maxreflines=100
	[0x00404845]> ?t pd 6999
	1.014379
2014-11-26 01:12:54 +01:00
pancake
adce73673f Fix two ASAN crashes for pf 2014-11-26 01:03:48 +01:00
pancake
75ca5cfdb1 Fix ASAN crash in tab 2014-11-26 00:02:13 +01:00
Alvaro Muñoz
8249fa31a8 add help button and popoup; fix scroll to after renaming 2014-11-25 23:54:47 +01:00
trndr
c70dfa53b0 Fix esil mips sub, and and or 2014-11-25 23:54:08 +01:00
Alvaro Muñoz
5284a715d4 remove console logs; add support for complex beziel curves 2014-11-25 21:04:01 +01:00
pancake
64711c90dc Bump capstone fixing bug in ARM 2014-11-25 14:30:20 +01:00
pancake
1612715a33 Check for uninitialized variables in MACH0 parser (thanks cov) 2014-11-25 12:59:24 +01:00
pancake
1f93b515d9 Fix non-initialized config->printf issue on the web server 2014-11-25 12:59:21 +01:00
Alvaro Muñoz
082c77683c load settings on main.js 2014-11-25 12:59:18 +01:00
Alvaro Muñoz
d0fd14fad3 New webui views 2014-11-25 12:59:07 +01:00
trndr
ee0ca58b1b Fix mips esil adds 2014-11-25 09:35:11 +01:00
trndr
8a2dfa3f9f Fix esil lsl 2014-11-25 09:34:44 +01:00
pancake
d503b72801 Some more tuning to bring back the good analysis times 2014-11-25 02:07:01 +01:00
pancake
0a6d2f4cdb Do not invalidate pages when using mapped io on RCore.Anal 2014-11-25 00:36:27 +01:00
pancake
5c536f0325 Fix anal.nopskip and enabled by default 2014-11-25 00:02:37 +01:00
pancake
18fdd80515 Fix esil conditional else and tails 2014-11-24 15:17:55 +01:00
Riccardo Schirone
aaa822f03b More work on mach0 format parser
* use segment instead of sections

	sections are optional. it should be better to rely on segments

* remove r_bin_mach0 prefix

	make the source code easier to read. considering this is a plugin, it's
	completely separated from other stuff and we can rename things without
	problems.

* remove MACH0_ prefix from static functions
* fix a mistake. we should check segs, not sects
* get right entrypoint also for LC_THREAD
* fix logic to retrieve entry offset/addr

	first it computes the virtual entrypoint address and then it finds the
	offset in the file through addr_to_offset
2014-11-24 11:57:54 +01:00
glindor
aeddd16e6b Outdated doc fortune. Removed file.flag and flag.id message 2014-11-24 05:53:55 +01:00
pancake
44e390e130 Check for null parameters in RCore.GraphDiff 2014-11-24 05:53:14 +01:00
pancake
c2a4e6b473 Update capstone 2014-11-24 03:31:07 +01:00
pancake
f9fa0e5536 Fix ^C issue with nullcmd repeat issue (reported by @jfrankowski) 2014-11-24 03:10:29 +01:00
pancake
0d95f6ecfb Fix portability issue in git pull for sys/install.sh (thanks zlul!) 2014-11-24 02:59:25 +01:00
pancake
a193e9d316 Fix #1665 - PE parser crash 2014-11-24 02:52:03 +01:00
pancake
da51302f73 Fix RLang.C for absolute paths 2014-11-24 02:01:18 +01:00
pancake
54d72a0e40 Fix #1502 - Add io.sectonly
We may probably want to merge this feature into different io.va modes
2014-11-24 00:41:20 +01:00
pancake
3c1300a915 Add asm.calls and fix asm.section indentation issue in pd 2014-11-24 00:16:36 +01:00
pancake
0131f257f8 Fix #1727 - dtc not stopping on errors 2014-11-23 23:31:55 +01:00
pancake
dda118423a Use syscapstone from sys/install.sh when cs-3.0 is found by pkg-config 2014-11-23 23:25:14 +01:00
trndr
ad602ebccc Allow esil to use negative numbers as arguments 2014-11-23 23:21:12 +01:00
pancake
bcf7d46e36 Fix #1726 - ESIL brainfuck is back (and fix io.maps test case) - Thanks @trndr 2014-11-23 22:44:38 +01:00
pancake
f0e5c584ba Only git pull in master 2014-11-23 22:11:41 +01:00
pancake
16396f6d68 Fix w32 build 2014-11-23 11:08:51 +01:00
Riccardo Schirone
fb1be4d598 libr/bin/format/mach0: set main_cmd on the first LC_THREAD
If there are only LC_THREAD, we get the entrypoint from the first
load_command found.
2014-11-23 11:06:10 +01:00
Riccardo Schirone
236298aaa0 libr/bin/format/mach0: find directly main when bin uses LC_MAIN 2014-11-23 11:06:10 +01:00
Riccardo Schirone
06ddf558d9 libr/bin/format/mach0: remove unused function 2014-11-23 11:06:10 +01:00
Riccardo Schirone
590a18ea23 libr/bin/format/mach0: check filetype in r_bin_mach0_get_baddr 2014-11-23 11:06:10 +01:00
Riccardo Schirone
fa0c74616d libr/bin/format/mach0: correctly retrieve entrypoint 2014-11-23 11:06:10 +01:00
Riccardo Schirone
ca32f842ad libr/bin/format/mach0: name consistency 2014-11-23 11:06:10 +01:00
Riccardo Schirone
971223390e libr/bin/format/mach0: set entrypoint only on first LC_THREAD 2014-11-23 11:06:09 +01:00
Riccardo Schirone
c1441b6ef2 libr/bin/format/mach0: fix baddr 2014-11-23 11:06:09 +01:00
Riccardo Schirone
762f518f25 libr/bin/format/mach0: fix issue with entry offset calculation
mach-o/loader.h: comment flavor to follow Apple header
2014-11-23 11:06:09 +01:00
Riccardo Schirone
24368ac3de libr/bin/format/mach0: check Mach0 format correctness
if there is LC_MAIN or LC_UNIXTHREAD in the file, you can't have other
threads
2014-11-23 11:06:09 +01:00
pancake
4762795c87 Fix static build 2014-11-23 11:03:24 +01:00
pancake
162e6957f9 Fix uninitialized variable for io_self 2014-11-23 10:58:05 +01:00