88 Commits

Author SHA1 Message Date
whitequark
c816dc7e66 Don't try to build shared libraries if configured as --without-pic.
Specifically, avoid building all plugins as non-static objects,
as well as some supplementary libraries. In fact, a large amount
of plugins was already gated to build as shared objects only with
WITHPIC=1, but this was not done consistently.
This gating has been moved to */p/Makefile.

Building these shared objects is a waste of time and breaks
the --without-pic build unless CFLAGS is forced in the make
invocation.
2018-01-11 23:09:22 +01:00
pancake
3af92b04c3 Remove squash references (it's in extras) and add RFSPlugin.license 2017-11-08 00:49:29 +01:00
pancake
69e1e99ff0 Do not use zero length arrays in iso9660 2017-11-07 14:40:19 +01:00
pancake
ffeba10d1b Enhance the fs.r2 with /version and proper cat/read ops 2017-11-07 02:04:03 +01:00
Francesco Tamagni
c971176e41 Tweak fs.io
- fs_io_open: expects the io plugin to return the file size as an usigned int string
- fs_io_read: use name instead of path (because fs_io_open sets the name as absolute path) and require the io plugin to provide file contents as hex encoded string
- fs_io_dir: honor the type provided by the io plugin as a single char followed by a space in each line of the output
2017-10-31 00:22:33 +01:00
pancake
2eb8af0b71 Fix recent memleaks found by cov 2017-10-25 16:20:26 +02:00
pancake
d9b548e5b5 Fix last covs 2017-10-24 16:51:34 +02:00
pancake
bb17e9acda Fix mg infinite recursivity issue, add fq and fsq commands and handle /flags in fs.r2 2017-10-23 12:54:03 +02:00
pancake
3f64b7a1dc Initial implementation of the r2 filesystem 2017-10-23 03:48:48 +02:00
pancake
5132c88f4d More code cleanup and tweaks for char* r_io_system 2017-10-23 00:45:01 +02:00
pancake
ca1b44e64d Add dummy fs.io plugin, r_io_system now returns char* 2017-10-22 23:52:07 +02:00
SkUaTeR
28f785daa0 MSVC compile correctly (WIP) 2017-05-13 00:42:00 +02:00
pancake
fa671b9a16 Initial support for the Meson build system
- Integrated with current ACR
- Fix some stale fails got removed
2017-05-02 05:05:36 +02:00
pancake
26f7c77a42 Fix latest covs 2017-04-17 12:43:56 +02:00
Marcel
a4fc91f29b Remove dirent.h dependency for Windows and add utf16<->utf8 conversion function 2017-04-15 13:07:33 +02:00
Álvaro Felipe Melchor
f5166f936d Fix some meamleaks (#6156) 2016-11-09 02:28:14 +01:00
Sven Steinbauer
2996538700 Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +02:00
Sven Steinbauer
547f8bbc5c Infer fixes Round 2 (#4993) 2016-05-24 22:22:15 +02:00
pancake
7a19745932 Add missing squash.mk 2016-03-30 16:47:23 +02:00
pancake
d9d4e7f889 Initial implementation of fs.squash and merge squashfs-tools 2016-03-30 16:01:24 +02:00
pancake
af2f02515f Support and load r_fs plugins 2016-02-21 02:32:28 +01:00
pancake
42acaa7596 Softly kill boolt type 2016-01-03 02:05:26 +01:00
XVilka
720341c2df Improve -fPIC handling, take 2 2015-10-09 22:24:15 +03:00
pancake
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
pancake
5064a640fa Initial de-grub-ization of r_fs. DOS partition parser
- Implement simple LGPLd DOS partition parser
2015-01-28 04:34:53 +01:00
jvoisin
a4182641b9 Fix more coverity issues 2014-07-28 18:18:01 +02:00
Anton Kochkov
7c6c706804 Fix CID 1134984 2014-05-02 14:43:51 +04:00
pancake
6eb7a5ed2f Move grub into shlr 2013-12-14 03:51:18 +01:00
pancake
9c8692ab06 Some udis86 anal fixes, update sdb and fix mingw32 build 2013-05-14 01:53:52 +02:00
pancake
f70dbe784b Fix --host crosscompile (acr 0.9.2) 2013-02-06 11:47:31 +01:00
pancake
1cd860aab6 Update udis86 from official git repo.
git pull  git://udis86.git.sourceforge.net/gitroot/udis86/udis86
2012-11-12 17:36:29 +01:00
pancake
b252b34358 Some initial work to support emscripten 2012-11-12 17:13:01 +01:00
pancake
e48b9b2f30 Add cfg.sandbox functionality
f.example: $ r2 -c=H -e cfg.sandbox=true -
2012-10-20 00:31:18 +02:00
pancake
5ad9ae97ed Fix some bugs (nullptr, memleak) reported by clang-analyzer 2012-09-26 10:01:43 +02:00
pancake
a2ebdcb650 Fix memleaks, nullref and undef (clang-analyzer)
Fix multiple inclusions of mk files
2012-08-08 17:19:48 +02:00
pancake
a1a1519b92 * implement osx-x86-32/64 native cross debugging
* Add p= command to show the statistics graph
* Rename Vw to Vi (write->insert)
* Add dummy base85.c
* Various binding fixes (add test3.js)
* Fix socket.vala
2012-06-07 03:41:21 +02:00
pancake
f908b15fb5 * Fix android compilation
- Fix static build
  - Fix dupped symbols
* Fix all errors reported by clang-analyzer
  - Some null dereferences
  - Some uninitialized variable uses
* Fix all important warnings from the farm
  - Remove *all* uses of alloca
  - Fix many %llx format string portability issues
* Fix manpage typos reported by lintian (thanks sre)
2011-12-06 00:27:57 +01:00
pancake
51d6e83c93 * Fix mingw32 build 2011-10-11 01:35:21 +02:00
pancake
32afad2b65 * Fix build with clang
* Fix some warnings which result in more bugfixes. yay
2011-10-10 01:48:08 +02:00
pancake
6213779213 * Avoid use of extended arm instructions for ut64
- add documentation for installing NDK in archlinux64
  - fixes build for android-arm
* Import android targets for the build farm
2011-09-25 21:07:34 +02:00
pancake
323441c122 * Initial import of r_magic
- Imported code from OpenBSD trunk
  - Remove the elf part (-1KLOC)
  - Some refactoring in order to be more r2-like
  - fixed warning messages
  - readdir one can be dangerous /cc @vect01
  - Remove libmagic dependency
* Rename asm.case into asm.ucase
2011-09-10 01:30:03 +02:00
pancake
6d5bef5976 * Use hg manifest in make dist
* Honor r_bin_use_arch arch and bits information for r_bin_create
* Implemented sC command to seek by comment matching
* Fix one byte Color_RESET in r_print
* Minor refactor in rasm newlisp example
2011-08-27 03:31:55 +02:00
pancake
0d4faf652e * Set library version number for plugins
- Registers for which version of core was compiled
* Use tar --format=posix when GNU tar
  - Fixes the dependency on BSD systems
* Fix in doc/fortunes
* Fix this class pointer in asm_java
* Re-Fix uglily the bin_elf strtab issue (needs more work)
* Fix Vala regression in r_asm.vapi
2011-07-19 00:12:36 +02:00
pancake
ca5e38d239 * Fix w32 and w64 build (r_fs/grub issue)
* Dont quit rax2 when reading from stdin until 'q' or ^D
* Minor fix in fortunes
2011-07-13 13:59:55 +02:00
pancake
97232ecc1c * Bump to 0.8b
* Clean up some warnings of r_fs
2011-07-12 09:22:40 +02:00
pancake
35f139986e * Fix invalid delta bug in r_fs_partitions
- Thanks @earada for noticing it
* Fix 32-64bit pointer segfault caused by missing function signature
* Make partition msdos map be verbose when failing
2011-07-12 00:31:57 +02:00
pancake
d07c67e87a * Fix build on mingw32 2011-07-06 21:57:12 +02:00
pancake
bebb19a5ce * Fix some warnings patch by @capi_x
* Added R_REFCTR macros
* Ignore prefixed 0x in hexstr2bin
  - Fixes issue in 'wo*' commands (thanks edd)
2011-07-04 23:23:06 +02:00
pancake
ea98fe1bd6 * Various gcc-4.6 warnings fixed 2011-06-30 00:17:12 +02:00
pancake
3fbbd865d5 * Fix build in OSX 2011-06-20 23:53:38 +02:00