Commit Graph

1152 Commits

Author SHA1 Message Date
pancake
d9ba8fcdfd Fix one tiny memleak in RCore.cmd 2018-09-25 13:37:06 -07:00
pancake
41ec949204 Fix #11112 - Rename {srwx,flags,perms} to perm. (-21 LOC)
Unify R_IO, R_BIN, R_BP, .. into R_PERM_* using 1 letter syntax
2018-09-22 11:31:45 +02:00
radare
945e9566fb
Fix #11455 - Implement internal less pager with scr.pager=.. (#11548)
* Use full screen in r_cons_less (last line was not used before)
2018-09-17 12:15:12 +02:00
radare
486c61529c
Implement the "underscore command" 2018-09-16 22:50:56 +02:00
Neven Sajko
4014e938d6 libr/core/cmd.c: Fix related to unsigned numbers (#11530)
Subtraction of unsigned numbers always yields a positive number. Adds
casts to st64 to give the intended result.
2018-09-15 21:37:09 +08:00
pancake
0d4e08aac4 Implement 'ls -e' 2018-09-13 16:45:31 +02:00
pancake
885f9efeb0 Fix last covs and add $e{} in RNumCallback 2018-09-13 11:16:27 +02:00
Neven Sajko
4a722e80d8 Add braces to if, else, for, while ... (#11504) 2018-09-13 10:17:26 +02:00
David CARLIER
09e8ccead3 Redo the previous PR. (#11415)
Fix couple of memory leaks only removed
one faulty line which led to garbage.
2018-09-06 12:43:50 +02:00
Riccardo Schirone
1b32083995 Travis was green (#11408)
* anal_x86: keep same syntax and POP value out of esil stack in push sp

NOTE: The other syntax was causing issues in afta, not sure why

* Revert "Further mem leak fixes (#11398)"

This reverts commit 38d9170f5d.

* anal_x86_cs: just use one expression for the PUSH x86 operation

* libr/core/cmd: set core_sysenv only when calling external scripts
2018-09-06 03:51:02 +02:00
kij
4c0f24fb3f fixt type (#11406)
ist kv -> list kv
2018-09-05 19:43:09 +02:00
David CARLIER
38d9170f5d Further mem leak fixes (#11398) 2018-09-05 14:56:29 +02:00
Neven Sajko
d8784641ee Add parentheses in macros where needed for safety (#11290) 2018-08-30 13:16:50 +02:00
Florian Märkl
2883398942 Fix #11081 - Transient Tasks (#11214)
* Make r_th_free() not kill the thread
* Transient Tasks
* Add transient info to & list output
* Use refcounting for Tasks
2018-08-23 13:49:28 +02:00
exokortex
dcb481122c Fix command interpret when scr.html is on (#11093) 2018-08-16 04:05:52 +02:00
pancake
de4b9939ff Some shorter help messages 2018-08-06 13:01:34 +02:00
Maijin
096d5eed00
?%? must be the same as %? Fix #10866 (#10894) 2018-08-02 13:18:48 +02:00
pancake
a1666a7712 Fix warnings introduced recently 2018-07-30 18:17:09 +01:00
Luca Di Bartolomeo
046af40bd2 Separate command history for sdb shell "ks" (#10820)
* Separate command history for sdb shell (ks)
* Refactor whitespace in sdbshell_history_down()
2018-07-27 10:33:46 +01:00
Florian Märkl
8c8f0a6516 Add &b command 2018-07-21 16:29:12 +02:00
Florian Märkl
8db9631c98 Block Signals when locking core->tasks_lock 2018-07-12 11:36:13 +02:00
Maijin
cd19cc4e63 Checking impact of afta in aaa (#10676) 2018-07-10 20:45:19 +05:30
pancake
db4afca0fe Fix r 2018-07-09 00:21:38 +02:00
pancake
73643dbb6f Fix =H& behaviour and warn about http.sandbox 2018-07-09 00:19:33 +02:00
pancake
33225b8005 Implement rax2, rahash2, r2pm, ... as "r2 commands"
- This is the begining to avoid fork() for them using the busybox style
2018-07-08 23:33:29 +02:00
Florian Märkl
5e35ad898b RConsContext (#10450)
* Add RConsContext
* Swap cons in tasks using RConsContext
* Create cons context for background tasks
* Move event_interrupt to RConsContext
* Fix breaking main cons from signal
* Make r_print_is_interrupted() use callback
2018-06-23 12:10:13 +02:00
pancake
c8043844f8 Fix !!!? and !!!- behaviours 2018-06-22 11:27:56 +02:00
Giovanni
9620ffab16 Implement !!!: to register new autocompletion logic (#10407) 2018-06-22 02:08:21 +02:00
Florian Märkl
43449afcfe Fix joining Tasks 2018-06-17 11:34:03 +02:00
Florian Märkl
fa3ff32569 Fix Task Commands for new Tasks 2018-06-17 11:34:03 +02:00
Florian Märkl
6cba82c066 Flatten RThreadMsg into RCoreTask 2018-06-17 11:34:03 +02:00
Florian Märkl
721a615457 Task cmd Adjustments 2018-06-17 11:34:03 +02:00
Florian Märkl
f449ae66f5 Fix Command History and Quit 2018-06-17 11:34:03 +02:00
Florian Märkl
88fa23e53a Add r_core_cmd_task_sync() 2018-06-17 11:34:03 +02:00
Florian Märkl
b3714f6fdf Initial Task Scheduling Implementation
Fix Creation and Deletion of tasks_queue
2018-06-17 11:34:03 +02:00
Florian Märkl
cdf5f5c9d2 Add &t command 2018-06-17 11:34:03 +02:00
pancake
8f6f4b8c1d Support escaping pipes, backticks and redirections in the shell 2018-06-13 16:00:02 +02:00
pancake
06b93969b0 Fix some more oobreads in v850 2018-06-13 15:43:44 +02:00
pancake
31ad955bab Use r_io_read_at instead of r_core_read_at which is now deprecated 2018-05-21 23:06:00 +02:00
pancake
be89180e7b Cleaning up asn1 apis, standarize IS_* apis and some more cleanup 2018-05-21 22:13:07 +02:00
pancake
9ee286c31b Honor flagsize to blocksize in @@@f 2018-05-19 01:29:04 +02:00
pancake
4d61d66e29 Add support for the Zig programming language 2018-05-16 17:12:17 +02:00
Khairul Kasmiran
9a21b9fdd3 Removed confusing comment 2018-05-06 22:27:36 +08:00
Khairul Azhar Kasmiran
03afd11572
Fix seek change on @addr when nested cmd has no @addr (#10017)
* Fix seek change on @addr when nested cmd has no @addr

* Support repeated cmds
2018-05-06 21:24:26 +08:00
Khairul Azhar Kasmiran
cbe9a12be2 Fix $$$ when in nested cmd (#10010) 2018-05-04 20:08:21 +02:00
Iru Cai (vimacs)
c8c8a0bfee Use a local orig_offset in r_core_cmd_subst (#10007)
Commit ec75785 (Highlight seek line using different background color
(#9853)) makes command `pdf @ ...` not restore the offset. This is
because when executing the `pdf` command, r_core_cmd_subst is called
twice, and core->prompt_offset will at last be the temporary seek
offset.
2018-05-03 20:47:24 +08:00
Khairul Kasmiran
2faadf6d86 r_cons_singleton() 🠊 r_cons_singleton () 2018-05-02 21:36:08 +08:00
Paul I
cc90ec6be5 [WIP] Move hardcoded paths to r_userconf.h (#9959)
* Move hardcoded paths to r_userconf.h

* Add R2_HOME_* macros

* Some cleanup
2018-04-28 10:02:55 +02:00
pancake
5a899f2846 Add r_th_try_pause() and improve task threading support 2018-04-25 12:30:57 +02:00
pancake
709a9c58fe Improve leahints to handle UJMP references 2018-04-25 12:30:57 +02:00