Commit Graph

72 Commits

Author SHA1 Message Date
Jonathan Neuschäfer
4c612db79b a few cleanups in bin and lang
* libr/bin/bin.c: remove duplicate condition (xtr && xtr)
* libr/bin/p/bin_elf.c!libs: use r_list_newf
* libr/lang/p/Makefile: add empty "clean" target to silence make warning
2014-06-14 02:14:08 +02:00
pancake
3a9b6c686f Fix asm/avr license and some coverity issues 2013-12-15 00:58:05 +01:00
pancake
7602b73da2 Add 'C' native RLang plugin 2013-12-14 02:35:14 +01:00
pancake
c3f57f233f Move non-native RLang plugins into r2-bindings 2013-12-14 02:19:00 +01:00
pancake
148e448ca6 Fix #200 radare.rb path 2013-08-31 12:39:39 +02:00
pancake
707b8b4e40 Try to fix #168 rlang's python plugin not properly linked 2013-08-18 01:30:03 +02:00
pancake
e1bdd9e64f Fix #171 autodetect script by extension, Initial work on 'ts' 2013-08-17 19:53:04 +02:00
pancake
ac4cedae53 Install radare.lua for libr/r_lagn/p/lua 2013-06-28 17:21:25 +02:00
pancake
0f1079af9c Fix internal python bindings 2013-06-26 22:51:37 +02:00
pancake
72581dd93e Many enhacements for the lua bindings
Load module and cast core instance at startup
Requires latest valabind.
Add RCore::ncast api
Use pkg-config everywhere to fix lua plugin build
Fix install path for lua bindings
Export RCore instance to #!lua shell
Example:
  #!lua
  print(c.assembler.bits)
2013-06-25 02:45:12 +02:00
Jaume Delclòs (cosarara)
af6f3385de Remove obsolete conditional in libr/lang/p/Makefile 2013-06-24 13:21:45 +02:00
pancake
b244a31cef Upgrade enyo and enhace webui (add scripting tab)
- Honor pvj length
- Refix udis86 16/32bit disasm
- Fix many glitches in the webui
2013-04-30 03:25:32 +02: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
be247348b5 Rename r_file_exist into r_file_exists 2012-09-06 08:59:13 +02:00
pancake
0e82165bf7 Honor make -s and lot of build cleanups 2012-08-14 15:44:17 +02:00
pancake
9362041562 Huge RBin refactoring and fix mach0 section perms 2012-08-04 23:48:06 +02:00
pancake
66a5e79317 * Fix invalid init segfault reported by vext01
- This showed several minor fini issues (rlang, rfs, regg, rflag)
* Fixes in r_core_disassemble()
  - Honor delta and r_asm_set_pc()
* Fix RHash bindings and add it into .deps for RCore
2012-06-14 17:41:07 +02:00
pancake
cb053b0cad * Add URL for agc graph
* Add r_line_get_prompt()
  - _set_prompt() uses strdup now
  - a bit slower but more consistent
* Use r_line from r_lang
  - Added history in #!<lang> prompt
  - Fix r_lang plugin init from r2-bindings-python-threads
  - Better help message in lang ? prompt
* Fix r_cons control+arrow issue
  - resets terminal as raw
  - History data is initialized if needed
* Fix sys/swig.sh for latest OSX-ports
* Add missing get_fcn_at() method in RAnal vapi
2011-11-01 04:37:13 +01:00
pancake
870518903b * Fix r2-bindings build
* Fix some warnings in r_parse
2011-10-05 12:40:16 +02:00
pancake
0a7eefc9f8 * Fix some memory leaks 2011-08-28 00:01:03 +02:00
pancake
ea98fe1bd6 * Various gcc-4.6 warnings fixed 2011-06-30 00:17:12 +02:00
pancake
f36b18aa3e * Added search.count
* Check null pointer before r_list_foreach
2011-05-20 22:42:11 +02:00
pancake
b499275e36 * Use configure-langs from root configure.hook
- r_lang now obeys the rules specified in configure
    ./configure --enable=python,perl
2011-05-20 20:11:31 +02:00
pancake
53b08a13be * Fix path to pycfg wrapper for lang/p/python 2011-05-18 23:33:37 +02:00
pancake
acb7709bff * Fix OpenBSD python bindings
- Use -L$(pkg-config --prefix)/lib
  - Use -pthread when linking
* Many fixes in vapi bindings
  - Thanks eddyb!
2011-05-18 16:42:12 +02:00
pancake
7e917da3db * Use $(shell) instead of ``
- Compile time should be a little faster now
* Fix warning in lang_perl
2011-05-15 04:31:08 +02:00
pancake
db61c1640a * Implement simple ciphering algorithm to bundle rasc2 shellcodes
- Should trick some silly antiviruses to stop claiming that
    the w32 build is malware
* Unify the python-config-wrapper scripts

--HG--
rename : binr/rasc2/shellcodes.c => binr/rasc2/shellcodes.c.src
2011-05-15 03:33:31 +02:00
pancake
7a4343aa1e * Cleanup the build of the python r_lang plugin
* Use ${MAKE} instead of 'make' in swig/ (Thanks Edd Barrett!)
* Fix build in OpenBSD (missing #include)
2011-05-14 13:10:51 +02:00
pancake
e8a2d5b4cf * Fix '>' (pipe to file) functionality in OpenBSD
* Fix build of python plugin in OpenBSD (python2.5)
* Fix initialization of dbg->arch and remove useless printf
* Do not compile cons/color.c (unused)
* Use snprintf, memcpy instead of sprintf/strcpy
2011-04-04 18:33:27 +02:00
pancake
41d4e0bc0b * Some fixes for static builds 2011-04-23 04:33:45 +02:00
pancake
d953cd9adf * Initial implementation of the java name mangling
- Added as comments before the method names
* Some fixes in r_bin_java
* Added r_buf(append/prepend)
* Show flags always in new lines
2011-02-27 20:30:41 +01:00
capi
9e5dccf239 * oops in r_lang Makefile for OSX 2011-02-22 10:58:00 +01:00
capi
5541748e6b * Fix some warnings in r_fs
* Add new filesystems to r_fs
* Fix r_lang Makefile for OSX
2011-02-22 10:49:45 +01:00
pancake
beb735e6e9 * Fix build for python plugin in osx
* Added UFS JFS and POSIX filesystems
* Many fixes in the 'ms' command
* Fix segfault in r_list_empty()
2011-02-21 18:10:22 +01:00
pancake
f228ca3b33 * Fix r_lang_python plugin build 2011-02-17 01:25:23 +01:00
pancake
9a084d12fd * Fix repl with vala 2011-02-06 21:10:57 +01:00
pancake
fc08cd81ff * Use '-fPIC' for gcc in r_lang_vala (thanks earada) 2011-02-06 20:52:27 +01:00
pancake
7fa1ca1ec1 * Oops. uncomment two lines :) 2011-02-06 20:43:06 +01:00
pancake
986f66c14f * Avoid dupped langs plugins in queue
* Hardcode vala plugin by default
2011-02-06 18:44:56 +01:00
pancake
64c4e5c014 * Fix various bugs in r_lang api
- Use RList instead of kernel's list.h
* Initial import of 'vala' plugin
  - Allows to write Vala/Genie scripts
2011-02-06 14:10:16 +01:00
Nibble
0906e809fe * Remove all dummy plugins (speed up build) 2011-02-04 14:20:30 +01:00
pancake
7725fc7136 * Fix segfault in r_list for null pointers 2010-12-17 10:58:38 +01:00
pancake
264f95a40e * Fix build in iOS 4.1 (darwin-arm)
- Honor CFLAGS everywhere
  - Use ut?? instead of uint??_t
* Add build instructions in doc/iphone
* Fix some out-of-range conditionals
2010-11-08 19:30:25 +01:00
pancake
1b5ea31de4 * Use --soname with version number
* Fix redefinition symbol build issue with r_io-desc_free
* Fix compilation of python lang plugin for py>3
2010-10-28 03:23:42 +02:00
pancake
9313a158d6 * Added compilation support for python bindings on Windows
- Documented in doc/windows
* Use single linked list pointer in rbin->rcore
  - Thanks @earada :)
2010-10-18 00:00:17 +02:00
Nibble
5c35f6e359 * Rename {r_*_handle_t, R*Handle} to {r_*_plugin_t, R*Plugin} 2010-05-26 01:42:22 +02:00
pancake
34435b1285 * Mental note: %lld/%llx does not exist on windows
- Use the macro PFMT64{xod} in case
2010-04-14 13:02:23 +02:00
pancake
373a3db8b7 * Implement r_lang_setup for python
- Setups RCore, int or string types
* Added r_core_cast() static method
  - Helper for swig magic
  - Allows to cast C pointers into python instances
* Fix EOF issue in #!<lang>
* Fix and sync r2-swig vapis
2010-04-09 15:57:22 +02:00
pancake
728bd1f817 * Fix w32 build 2010-03-25 10:18:59 +01:00
pancake/imac
9890c6e8b0 * Fix build in OSX
- env.sh now also uses DYLD_LIBRARY_PATH
  - Fixes in ollyasm/dis to link with no global variables
    - Remove double definition of global _state
    - Same for asm_java
  - Split -shared and -Wl,-R into LDFLAGS_{LIB|LINKPATH}
    - Fixes linkage in osx
  - anal_x86_bea plugin now links correctly against BeaEgine.o
  - dietline is now #include'd from line.c
  - no debugger support yet
  - Do not externalize any variable. Some linkage does not support it
* Remove bininfo dependency .. aims to be merged into bin soon
* Added r_str_case() method to change to lower/upper case a string
2010-02-21 20:21:36 +01:00