Commit Graph

123 Commits

Author SHA1 Message Date
Sergi Àlvarez i Capilla
5f33adbd83 Implement RCore.visual_slides() ##visual
* Add clearkeys() helper and r2slides example
2021-10-27 01:54:43 +02:00
pancake
9dbadb0ac1
mv shlr/heap into libr/include/heap (#19285) 2021-10-22 14:56:34 +02:00
pancake
fdde9caaad
Fix builds issues on meson, windows, ios, static and wasi 2021-10-19 20:57:19 +02:00
pancake
3548e2e8a4 Final mingw fixes 2021-10-19 12:52:00 +02:00
pancake
9a2636b32b
Remove other useless and incomplete treesitter leftovers and get +400 new commands in the recursive help ##shell 2021-08-14 18:28:20 +02:00
RHL120
4682d70dc0
Initial import of the 'Radare2 Version Control System' APIs (#18499) ##core
* Sets the base for supporting multiple version controls for projects
* Implements a native version control software inside r2
* prj.git is now renamed to prj.vc (and prj.vc.type is added)
* No commands to use it yet, just API, further changes will come soon
2021-04-26 11:27:46 +02:00
pancake
cbc949c039 Remove tree-sitter and the r2-shell-parser ##shell
* Will be reimplemented soon with a new parser
* Simplifies and speedup the build
2021-04-24 21:58:09 +02:00
pancake
fdbd440bb7
ABI/API break. RAnnotationCode->RCodeMeta ##api (#18512) 2021-03-30 00:20:06 +02:00
pancake
cf91324937 Remove file.path and file.lastpath and add RProject ##projects 2021-01-03 10:54:00 +01:00
Riccardo Schirone
75a80741ee
Make root a argv RCmdDesc ##newshell (#17326) 2020-09-15 15:27:10 +02:00
pancake
d441baad62
Fix latest COVs, remove dead code and unnecessary global variables (#17231)
Co-authored-by: pancake <pancake@nopcode.org>
2020-07-22 19:37:31 +08:00
Anton Kochkov
ffe743ef39
Fix #4056 - rename DEPS to R2DEPS ##build (#17020)
* Rename DEPS to R2DEPS
* Cleanup of sys/build.sh
2020-06-12 10:49:28 +08:00
NIRMAL MANOJ C
305cc00766
Migrating RAnnotatedCode to radare2 (#16939)
* Added comments for functions in RAnnotatedCode
* Modified code to follow coding style
* Added more documentation and changed the name of core_annotated_code.c
* Fixed memory leaks
2020-05-27 11:54:31 +08:00
Riccardo Schirone
a29f0ccce5
Add CI job for CentOS 6 build (#16712)
* Fix re-definition of RAnalBlockCb and RAnalAddrCb

* Small compilation fixes for gcc-4

* Check PTRACE_GETREGSET before using it

* Add GH workflow to run on centos:6 for prerelease branches

* Fix configure.acr
2020-04-29 19:02:02 +08:00
Riccardo Schirone
06ab29b93c
Compile new shell parser by default (#16660)
* Move radare2-shell-parser/tree-sitter into shlr
* compile new shell parser by default, available with cfg.newshell variable
* Add README for radare2-shell-parser
* Improve CI
* Add gitattributes file
2020-04-21 13:44:30 +02:00
radare
3f77b9a76b
Avoid duplicated module filenames to fix static.sh ##build (#16403) 2020-04-02 14:30:27 +02:00
pancake
32580864ff Code cleanup and refactoring for analysis 2020-03-23 09:26:20 +01:00
Riccardo Schirone
46e0a8d169
Do not compile radare2-shell-parser by default (#15769)
Last release (4.1.0) did compile it by default, but the build requires
internet access to download the repositories. For now, since the feature
is anyway very experimental, we disable it at compile time so that
distributions can just compile their packages without internet access.
In the future we may want to use submodules or augment the release
tarball to include the tree-sitter and radare2-shell-parser archives.
2020-01-07 13:37:04 +01:00
Riccardo Schirone
4ebd400fa7
Very simple tree sitter integration (#15414) ##command
* tree-sitter-integration: support tmp-seek, arged, and interpret commands
* Make meson automatically download tree-sitter and radare2-shell-parser grammar
* Add tree-sitter/radare2-shell-parser directories in gitignore
* Add Support for tree-sitter in acr/makefile
* Just use one script to download 3rd party repositories in shlr
* Use cfg.newshell
2019-11-06 10:33:23 +01:00
radare
c8bda90d59
Fix #14530 - Implementation of i.~{} aka RCoreItem ##anal 2019-07-10 18:31:16 +02:00
radare
571a080ca7
s/CORELIB/R2_PLUGIN_INCORE/g (#14295) 2019-06-13 19:12:51 +02:00
pancake
073fcca0f3 Make -C http work like the tcp and rap remotes, expose the shell via == ##remote 2019-05-17 12:09:23 +02:00
radare
89211e61ac
Implement graph neighbourhood navigation with i and I keys ##visual 2019-05-05 03:02:49 +03:00
pancake
324faaa3f0 Initial import of the esil-graph command by @condret 2019-04-18 13:35:32 +02:00
radare
1125bf7476
Initial import of the WIP zdiff algorithm ##diff 2019-04-05 15:34:43 +02:00
pancake
4e1b52ab0f Initial implementation of the 'aao' command ##anal 2019-01-29 13:27:29 -06:00
pancake
9d94b4d4a1 Initial implementation of the visual zignatures in vbz ##sign 2019-01-26 08:29:08 -06:00
radare
0456ea8751
Implement vbg - wip, but at least vbg does something ##visual 2019-01-24 18:50:37 +08:00
Maijin
34abfd6d64
Remove all S commands ##refactoring 2018-10-30 13:23:18 +01:00
Aaron
a6725edb1f Fix #10324 - Implement RLog API for leveled logging ##core (#11786) 2018-10-27 05:29:22 +02:00
radare
e7d3706b8f
Fix gcc8 warnings and rename core/asm.c to casm.c ##refactor 2018-10-20 01:23:15 +02:00
Florian Märkl
c05c85aa9f Reimplement TCP Server with libuv and add configure/meson flags (#11403) 2018-09-17 12:07:00 +02:00
pancake
26d50c31da Fix memleaks in RBin 2018-08-19 16:39:55 +02:00
pancake
2a4efecd39 Initial import of the CoreUndo API and uc command 2018-03-14 12:12:44 +01:00
sivaramaaa
8ca0d327e4 Intial implementation of function call argument display (#9411)
* Cleanup disasm code
* Move this to new command afal and few bug fix
* Wrap the command with config var
2018-02-22 13:21:40 +08:00
whitequark
0f97fdd228 Fix numerous issues with pkgconfig files.
* Modifications like adding @SSL_CFLAGS@ to .pc.acr files that
    would be overwritten by `make pkgcfg` have been moved to
    Makefiles proper.
  * Missing .pc.acr files for libraries r_egg and r_crypto were
    added to the tree as well as the configure script.
  * Instead of explicitly listing every -lr_* library in every
    .pc file in the Libs: section, r_* libraries are now listed
    in the Requires: section, which ensures that flags get
    transitively propagated. This gets rid of the MAGICSED hack.
2018-01-11 23:09:22 +01:00
pancake
27ef8319a5 Delete help.c and make it into cmd.c 2017-11-24 00:19:05 +01:00
Fangrui Song
a4997feb34 Move fortunes to libr/core/fortune.c (#8424) 2017-09-12 00:41:07 +02:00
pancake
e913c770f5 Fix build 2017-08-03 13:27:11 +02:00
Srimanta Barua
d3958f00e4 Initial stub for gdbserver support
* Renaming functions, reorganizing code, adding temporary hack for closing gdbserver
2017-05-22 19:37:48 +02:00
Sven Steinbauer
91024d0d76 Add Pnx command for project notes (#6779)
* Notes command parsing

* Notes command parsing

* Add Pnx command
2017-02-14 14:52:23 +01:00
pancake
b70b0e02d4 Enhancements for aab and abb, codename 'analblaze' 2017-02-10 00:02:39 +01:00
Álvaro Felipe Melchor
96ccb9808e Rename libr/core/anal.c -> libr/core/canal.c 2017-01-14 16:56:05 +01:00
pancake
c2abb6ab2f Initial refactoring of the r_syscmd APIs and begin with binr/r2bb 2017-01-03 03:48:55 +01:00
Álvaro Felipe Melchor
69b8ab2a6b rename config.c to cconfig.c under libr/core/ dir 2016-11-16 18:21:03 +01:00
pancake
d41b577106 Fix #5924 - r_flags -> r_flag 2016-10-27 01:07:58 +02:00
pancake
796a03d8b4 Fix #5533 - Fix aftm segfault 2016-08-16 11:59:01 +02:00
Ahmed Mohamed Abd El-MAwgood
4f413e7720 initial support for type matching (#5480)
Enabling stepping over
Basic (sym.imp.*) call catching routines
Fixing esil tracing bug and verbosity
Adding some apis for handling function prototypes and abstacting sbd queries
Fixing the double execusion bug in esil tracing
passing types into vars for `stack`
fixing trailing spaces
doing the regester branch
doing the stack_rev
2016-08-13 12:09:14 +02:00
Álvaro Felipe Melchor
dc5673ec3a Fix regression with the arm/thumb changes (#5464)
Now we build a list of ranges (RAnalRange) based on anal hints to handle the
bits in a better way in the case of arm/thumb

Now instead of asm.bits that rules the whole binary we can define ranges with
anal hints
2016-08-10 18:49:44 +02:00
Alexandru Caciulescu
72e58c2e01 /R gadget classification patches for #5397 (#5448)
* /R can now classify nop gadgets
* MovRegs and LoadConst pattern classification for /R
* Moved classification logic in separate file
2016-08-09 17:24:25 +02:00