4402 Commits

Author SHA1 Message Date
oddcoder
9013158f4d output of t is wrong #4351
adding struct support to t

adding enum handling to `t`

and optimising the stuct type finder
2016-03-20 14:23:38 +02:00
pancake
d1b36b01ec Fix #4267 - Prefix all env vars with R2_ 2016-03-20 02:24:17 +01:00
oddcoder
75d290833e removing support td-
| td-<name>          Undefine type by name
| t- <name>          Delete types by its name
their is no obvious difference between both of them basically td- was
buggy so I copied it into t- then fixed the bugs there.
2016-03-19 23:25:16 +01:00
pancake
0442a71fa8 Fix agc by only showing flagged nodes 2016-03-19 02:43:36 +01:00
pancake
efc215d587 Fix aap for static and make it work in debugger 2016-03-19 02:39:28 +01:00
pancake
5b7c9f5aad Implement pvj command 2016-03-19 02:26:28 +01:00
pancake
23d8f286bc Fix aap boundaries issue for static binaries 2016-03-18 19:23:56 +01:00
Adrien Garin
10de21de7e RBin: fix PE and ELF versioninfo
PE parser is now able to get the StringTable value even if the
wValueLength of the structure is incorrect.

Fix a regression with ELF versioninfo.
2016-03-18 18:35:05 +01:00
Evan Shaw
db00a291a5 Prettier memory region printing 2016-03-18 13:55:26 +01:00
pancake
03c49f92af Avoid fixed size buffer in t 2016-03-18 13:50:33 +01:00
oddcoder
9a7ea1b3f1 fixing indentation 2016-03-18 13:44:24 +01:00
oddcoder
6b256183c2 fixing t- 2016-03-18 13:44:24 +01:00
oddcoder
9c8158d397 unused variable 2016-03-18 13:44:24 +01:00
oddcoder
0b4a7635a0 fixing t-* 2016-03-18 13:44:24 +01:00
oddcoder
09bc8f2eaf fixing tb 2016-03-18 13:44:24 +01:00
oddcoder
f71a8e66db Off by one error?
[0x00000000]> t int
Breakpoint 1, cmd_type (data=0x55555575c5c0 <r>, input=0x5555558598e1 " int") at cmd_type.c:82
82		RCore *core = (RCore*)data;
(gdb) n
84		switch (input[0]) {
	(gdb)
	197			const char *isenum = sdb_const_get
	(core->anal->sdb_types, input+2, 0);
	(gdb) p input + 2
	$1 = 0x5555558598e3 "nt"   <-- shouldn't be "int"
	}
2016-03-18 13:44:24 +01:00
pancake
09aed6e525 Simplify ?T and fix load time 2016-03-18 13:39:45 +01:00
Darredevil
12e40a9249 Loading time for issue #3244 2016-03-18 12:34:17 +01:00
Adr1
ab5792d132 RBin: improving versioninfo
Store ELF versioninfo in Sdb.
Display VS_FIXEDFILEINFO for PE.
2016-03-16 18:10:49 +01:00
pancake
84fc735501 Some enhancements for the MIPS ESIL emulation 2016-03-16 16:37:57 +01:00
pancake
cb119968dd Fix #4293 - Fix mips string reference detection with ESIL 2016-03-16 15:14:05 +01:00
Álvaro Felipe Melchor
43e5171cf7 remove eprintf message 2016-03-16 14:15:16 +01:00
pancake
b34b3c55e6 Fix build (missing dep for core) 2016-03-16 13:45:38 +01:00
pancake
b461e3989a Implement woE/woD to encrypt/decrypt with rc2/rc4/xor/blowfish/aes... 2016-03-16 13:33:50 +01:00
pancake
21bb24b7a4 Honor anal.strings in aae 2016-03-16 13:08:27 +01:00
pancake
ec895d787c Fix ROR/ROL ESIL expressions for x86-64 capstone 2016-03-16 12:51:26 +01:00
easyhard
ddaa6dff07 Fix issue #4319 can not use regex sequence in rop 2016-03-15 18:14:43 +01:00
pancake
15d9563014 Fix #4313 - & in function switches fcn->bits instead of global ones 2016-03-15 11:47:13 +01:00
pancake
b0f887edd9 Add tiny warning for anal.calls 2016-03-15 11:28:56 +01:00
easyhard
91cc270fbf only try smaller addresses in non-align arch 2016-03-14 23:08:26 +01:00
easyhard
312f72ac01 Fix #4020 - ROP: Find gadgets from all offsets
End gadgat instruction may be part of a different
isntruction, depends on starting offset. Therefore,
rop searching should try some starting offsets that
are smaller than the previous end gadgat.
2016-03-14 23:08:26 +01:00
oddcoder
f5f28caa14 fixing little error in the description 2016-03-14 23:04:18 +01:00
oddcoder
021b9950db fixing a bug in eco
eco just freezes when requesting doc by the command `eco?`
2016-03-14 23:04:18 +01:00
pancake
e4e9b01728 Add anal.strings false by default and enhance string detection 2016-03-14 09:42:54 +01:00
pancake
185207cc1c Fix #4305 - aar detect and define strings 2016-03-14 01:45:25 +01:00
pancake
6d204b1bc3 Fix another whitespace issue in pd 2016-03-14 00:15:51 +01:00
pancake
b80904319d Fix #4194 - Remove RCons dependency from RIO 2016-03-14 00:11:31 +01:00
pancake
23b3c5fe30 Fix #4290 - @@@ was not documented 2016-03-14 00:01:39 +01:00
pancake
1b1e722795 Workaround for 6502 to show 16bit PC register 2016-03-13 23:56:23 +01:00
pancake
ad2df38fca Fix onespace issue in pd 2016-03-13 21:56:46 +01:00
pancake
bd11cf8f81 Fix pd regression with spaces at the end 2016-03-13 03:13:27 +01:00
pancake
21fecbaf87 Some more p= fixes 2016-03-13 02:31:13 +01:00
pancake
fd5c8d17fe Refactor the p=X, honor current seek and better ascii bars 2016-03-13 01:30:28 +01:00
Maijin
daafa94407 Enable demangle by default fix #4266 2016-03-12 18:01:12 +01:00
Maijin
38bc88fb67 Also add the warning in aaa 2016-03-12 17:48:53 +01:00
Álvaro Felipe Melchor
1828d76dcf Add missing type iej 2016-03-12 13:09:23 +01:00
Álvaro Felipe Melchor
1f2139fd54 Fix null dereference 2016-03-12 13:09:19 +01:00
pancake
0104b0b324 Show checksum info in rabin2 -I, need better naming 2016-03-12 11:28:05 +01:00
Aneesh Dogra
5c3f5904ea Add a way to compare claimed CRC (in header) of PE files with the actual CRC. 2016-03-12 11:22:55 +01:00
pancake
977aeb8173 Show entrypoint type info in rabin2 -e and ie 2016-03-12 11:16:42 +01:00