Commit Graph

510 Commits

Author SHA1 Message Date
deeso
a702c82ac8 Enhance performance with reduced mallocs at load time 2014-05-21 13:02:02 -05:00
pancake
821cd215d6 Fixed io_default/write crash and malfunction 2014-05-21 04:36:53 +02:00
pancake
796dedf83c Fix close(0) issue in rio 2014-05-21 01:46:01 +02:00
jvoisin
956eba4a8e Fix CID 1135064 2014-05-19 23:47:13 +02:00
Anton Kochkov
9c7b579c46 Fix a typo 2014-05-19 09:06:38 +04:00
Anton Kochkov
eb2f9529cd Fix CID 1214584 2014-05-19 05:31:07 +04:00
Anton Kochkov
c7a101d7e2 Fix CID 1214580 2014-05-19 05:28:12 +04:00
pancake
fd3251d99c Refix 'r' command issues 2014-05-19 02:52:51 +02:00
pancake
b7eaf03813 Workaround for the famous io/ff, this is not a final fix 2014-05-18 02:37:34 +02:00
pancake
2494e22a4d Add rawio support in RIO (allows to open /dev/sda f.ex), Add io.enforce=0|1|2|3 2014-05-18 02:19:11 +02:00
pancake
ea0c2caa59 Add sys/ios-sdk build scripts 2014-05-17 04:41:33 +02:00
pancake
c6a73d3074 Fix loading sections from fatmach0 bins 2014-05-16 03:48:57 +02:00
deeso
1fbc7f2168 Added load_bytes, Pushed curplugin down to RBinObj, Reworking the RBinFIle loading to accomodate RBinObj reworked how all bins are loaded. Needed to hack IO to make
this work with rbinfiles and rbinobjects.

Conflicts:
	libr/bin/bin.c
	libr/bin/p/bin_te.c
2014-05-13 21:54:18 -05:00
jvoisin
818a907bf4 Fix CID 1135070 and some GCC warnings 2014-05-11 13:41:21 +02:00
jvoisin
f664e91c1b Fix CID 1135045 and some GCC warnings 2014-05-11 13:34:55 +02:00
jvoisin
e0024940ca Fix CID 1134851 2014-05-11 13:31:59 +02:00
jvoisin
4fbebae5f6 Fix CID 1134511 2014-05-11 13:28:39 +02:00
jvoisin
914a0411ca Fix CID 1134506 2014-05-11 13:27:26 +02:00
jvoisin
76fbd4119c Fix some gcc warnings 2014-05-08 23:20:42 +02:00
pancake
773b033620 Fix negative/huge mallocs in PE parser and fix invalid fd close 2014-05-08 01:32:06 +02:00
Anton Kochkov
53d58db5bb Fix CID 1211145 2014-05-06 01:23:06 +04:00
jvoisin
3fbd1645d7 Fix CID 1211149 2014-05-05 17:44:08 +02:00
jvoisin
bdb2a4b568 Fix CID 1211150 2014-05-05 17:40:55 +02:00
Anton Kochkov
f762584982 Fix CID 1134991 2014-05-04 18:30:17 +04:00
Anton Kochkov
2d03b0a6f6 Fix CID 1134867 2014-05-03 04:29:10 +04:00
Anton Kochkov
14fb1b2b6a Fix CID 1134850 2014-05-03 04:29:10 +04:00
Anton Kochkov
b91a555475 Fix CID 1134812 2014-05-03 03:40:04 +04:00
deeso
14354feb61 fixed MMap Read-Write issue in io plugins and RBuf 2014-05-02 16:43:47 -05:00
deeso
3adcb54f17 Overhauled how files are loaded. Now *all* files use an IO plugin the default one is mmap'ed 2014-05-01 20:13:57 -05:00
jvoisin
7be0331d6d Fix CID 1134512 2014-04-30 01:37:27 +02:00
Anton Kochkov
7b3db8b1b1 Fix CID 1171364 2014-04-30 02:38:04 +04:00
Anton Kochkov
f78e258b52 Fix CID 1181834 2014-04-30 02:30:08 +04:00
Anton Kochkov
47e5524be1 Fix CID 1191355 2014-04-30 02:19:55 +04:00
Anton Kochkov
b483d9189c Fix CID 1135070 2014-04-28 22:40:22 +04:00
pancake
b49195f2df Fix lot of warnings 2014-04-28 11:53:22 +02:00
Anton Kochkov
afedcc0074 Fix CID 1135011, 1195065, 1134730, 1134754, 1134907, 1134758 2014-04-27 01:06:13 +02:00
Anton Kochkov
c635b5fff1 Fix CID 1134736 2014-04-26 04:02:29 +04:00
Anton Kochkov
51736bd435 Fix CID 1134485, 1134486 2014-04-26 01:53:23 +04:00
pancake
91e4f7659b Fix heap overflow in io/cache.c (Thanks @nixerr) 2014-04-25 03:03:17 +02:00
deeso
d5908941fb Steps toward fixing the reopen of a file being debugged 2014-04-24 18:21:40 -05:00
deeso
c6a7faad77 fixed the bug with the insane fuzz command 2014-04-22 23:06:00 -05:00
pancake
836803d786 Sdbize RBin.list_archs(). Expose addrinfo in 'k bin/fd.#/addrinfo/*' 2014-04-23 03:57:13 +02:00
Anton Kochkov
1956dc669d Fix CID #1135135 2014-04-20 03:38:01 +04:00
Adam Pridgen
af800c4b1b fix to wen because the size caused an incorrect allocation 2014-04-08 17:47:26 -05:00
Adam Pridgen
b182b23b40 fixing the following coverity issues, which entails the issue with print and most of the java issues:
1196398, 1196403, 1196402, 1196401, 1196400, 1196413, 1196415, 1196414, 1196411
2014-04-05 00:39:17 -05:00
Adam Pridgen
3ddac2d893 Fixed yank from file RCoreFile swap, and fixed logic bug in io.c that would prevent file swaps 2014-04-02 13:10:26 -05:00
Adam Pridgen
f8679bb888 Fixed yank from file RCoreFile swap, and fixed logic bug in io.c that would prevent file swaps 2014-04-02 13:10:03 -05:00
condret
cd92dfee31 fix an io-map bug
this makes the wall of 0xff at the end of this video less scary : http://runas-racer.com/foo/io_bugs.mp4
2014-03-31 03:07:50 +02:00
Adam Pridgen
6a50f55834 Fixing some of the coverity issues 2014-03-28 12:17:23 -05:00
Adam Pridgen
09fa5cf10c Added extend to io support, now files can be extended, b00y4! 2014-03-24 22:57:36 -05:00
Adam Pridgen
940db1cf75 Added the ability to yank a file into a buffer without loading it 2014-03-20 23:25:39 -05:00
Adam Pridgen
b144099451 RCore yank_buf is now a RBuffer with a defined API. Tweaked RBuffer so it reallocs buffers correctly. Modified io_zip to write through on new files. 2014-03-20 13:09:37 -05:00
Fedor Sakharov
977b5fb706 io_ihex: Lets remove infinite cycle 2014-03-11 20:41:40 +04:00
pancake
b9d7533137 Fix overflow in r_socket_http_get 2014-03-10 00:55:57 +01:00
pancake
d664e7b7de Initial SDBization of RAnalMeta... 2014-03-04 12:23:52 +01:00
pancake
d1dd21ea9e Fix statically link of libgdbr 2014-03-03 19:09:40 +01:00
pancake
ffa6f94ff2 Fix linkage of gdbr on w32 2014-03-03 18:57:21 +01:00
defragger
bf7d50156f added implementation that uses libgdbr
Signed-off-by: defragger <rlaemmert@gmail.com>
2014-03-03 17:19:33 +01:00
pancake
f3a83d63f3 Fix self:// on Linux 2014-03-02 04:19:36 +01:00
pancake
9ec418ec37 Fix rap:// and enhace RConsMouseWheel support 2014-03-02 00:31:35 +01:00
pancake
d257493fb3 Fix some warnings 2014-02-24 12:18:07 +01:00
pancake
9b9b04576f Purge all r_lib references 2014-02-20 22:16:23 +01:00
pancake
6f2baaa202 Use strncmp instead of memcmp to check the io uri 2014-02-18 03:03:13 +01:00
Adam Pridgen
e5a2428cae zip write through is now supported 2014-02-17 09:25:58 -06:00
pancake
90264229c9 Add Vo, fixes in $sys in RAsm, new io.self plugin, initial work on preloaded r2 2014-02-10 03:31:12 +01:00
pancake
e421d5bb56 Bump sdb to fix memleaks 2014-01-31 18:26:11 +01:00
pancake
5f14f7290b Add --with-syszip configure flag to use system libzip+libz instead of shlr/zip 2014-01-30 01:45:08 +01:00
Adam Pridgen
a79ea9dd34 Fixed coverity issues: 1164785, 1164787, 1164788, 1164790-1164794 2014-01-27 08:34:26 -06:00
Adam Pridgen
e6fe3354d9 Fixing coverity issues for io_zip, hanging caused by infinite loop in disasm.c,
and io map collisions (which adds file.loadalign, file.loadmethod (append or fail),
and file.suppresswarnings.
2014-01-25 23:48:22 -06:00
pancake
f287cfb413 Fix build 2014-01-24 11:13:17 +01:00
Adam Pridgen
70e832b35e Adding the option to open more than one file via a plugin. Now all the files in a zip can be loaded using zipall:// uri. 2014-01-23 21:51:39 -06:00
pancake
48273ec2ed Fix #559 - Fix segfault (workarounds) 2014-01-21 15:40:10 +01:00
pancake
d86bf57ca4 Remove more r_lib references 2014-01-18 02:52:49 +01:00
Adam Pridgen
6058b7b4a8 coverity fixes 2014-01-14 10:40:18 -06:00
pancake
d7d3965405 Fix debugger for Debian Squeeze 2014-01-14 03:23:03 +01:00
pancake
d2ce7c1130 Some polishments for io_zip.c 2014-01-13 00:50:04 +01:00
Adam Pridgen
415a77dca0 Java can now load multiple bins into radare space, and analyse the different bins.
See libr/bin/p.bin_java.c libr/anal/p/anal_java.c for the hacky details.
Fixed the coverity issue.
2014-01-12 17:36:47 -06:00
Adam Pridgen
deb58b637a Added index open of files in zip:// uri and fixed entrypoints reported to include only static methods, main, the constructors 2014-01-10 16:30:47 -06:00
pancake
98053a806d Fix bjam build 2014-01-03 00:43:22 +01:00
Adam Pridgen
bc2ee1f869 Improved plugin analysis allowing plugin developers to define custom
analysis algorithms.
Java analysis plugin is re-written to leverage this capability.
Added some new R_ANAL types, and some of the respective operations and strings.
Updated io-component files to get file size and info
2014-01-03 00:28:46 +01:00
pancake
38fc28f960 Added more Jamroot files 2014-01-03 00:13:46 +01:00
pancake
13ea5e467d More Jamroot files and move vm out 2013-12-31 15:57:52 +01:00
pancake
e0f436415f Fix #493 - Segfault in rafind2 with hex:// 2013-12-29 02:47:46 +01:00
pancake
84f579264f Fix build 2013-12-22 04:37:05 +01:00
Roi Martin (@nibble_ds)
3f5ebd9d16 Fix #458 - Negative baddr
Fix r_bin_get_vaddr() (needs further testing due to changes in r_io)
2013-12-19 19:43:44 +01:00
pancake
f664821d8e Fix loading the RBin information of PIE bins when debugging 2013-12-17 02:10:13 +01:00
pancake
a03dd04c42 Fix r_sys_pid_to_path for FreeBSD (thanks vsp) 2013-12-11 12:32:15 +01:00
pancake
2dff3946c4 Fix io.gdb license 2013-12-10 04:19:43 +01:00
pancake
bbe6e8c8a2 Add license to RBin, RDebug and RIO plugins 2013-12-10 04:19:04 +01:00
Adam Pridgen
b2c194014c Updated zip file listing as requested. Could not use io->printf bc it did not flush properly after use 2013-12-03 04:51:54 +01:00
Adam Pridgen
f14f905fe0 updated zip_io so that files are accessible via script 2013-12-03 04:51:49 +01:00
pancake
180fd38163 Fix 'cg /' crash and only use numeric values in web yank (thanks zlul!) 2013-11-28 18:46:58 +01:00
pancake
21c3e01ff5 Fix #389 - Fix segfault in ptrace://-1 2013-11-26 16:16:06 +01:00
pancake
a70bc47d94 Fix malloc://-1 2013-11-26 02:04:12 +01:00
pancake
a6f4dbca47 Fix #384 - Dupped filedescriptors 2013-11-23 02:44:06 +01:00
Adam Pridgen
a5ad388eb5 Cleaned up how the pd command process input. Added support for setting [len] [asm.arch] [bits] for all pd commands. 2013-11-22 08:45:13 -06:00
pancake
58870cff95 Fix r_io_desc_new macro. It was breaking support for multiple files 2013-11-19 03:02:26 +01:00
Fedor Sakharov
13547a0bbf Fix #370 - Some memory leaks
Fix memory leak in r_config_new.
  cfg->nodes->free should be a custom function that frees RConfigNode
  structure correctly, but not the ordinary free.
Fix memory leak in r_anal_new.
  In r_anal_free need to call r_meta_free to free the
  whole RMeta structure, not only it's data list.
  The r_meta_free doesn't seem to have any leak itself.
Fix leaking anal->hints.
Fix memory leaks in r_cmd_free
Fix memory leak in r_cmd_plugin_init
Fix memleak in r_lib_new
Fix memory leak in r_io_plugin_init
Fix memory leak in r_debug_trace_new
Fix memory leaks in r_io_new
Fix memory leak in r_graph_new
Fix memory leak in r_sys_getdir.
  Note: calling getcwd with dir=NULL is a Linux-specific extension
  of POSIX, not sure if works on other non-windows platforms.
Fixes a typo
2013-11-19 01:51:40 +01:00
pancake
aaf444aaff Fix mingw32 build of libzip 2013-11-15 01:25:34 +01:00
pancake
7112a7ded0 Fix r_io_desc_new issue 2013-11-15 00:04:17 +01:00