Commit Graph

25345 Commits

Author SHA1 Message Date
pancake
f801ee7ada Initial experimental support for portable qjs packages ##r2pm 2022-12-23 13:09:49 +01:00
pancake
9fcd0ef668 Add the ability to run qjs scripts with r2 -je ##shell 2022-12-23 13:09:46 +01:00
pancake
e8a86a28e4 Add proper warning when building libbochs on 64bit 2022-12-23 12:14:14 +01:00
pancake
bf4bf7c8f5 Fix minor warnings spotted by the windows build 2022-12-23 01:09:00 +01:00
0x8ff
2ba957950a Fix multiple typos in ios-syscalls.txt ##anal 2022-12-23 01:06:05 +01:00
pancake
a34ec63c03 Fix ?vi:123 and ?v:123 commands ##shell 2022-12-22 11:56:20 +01:00
pancake
7caa95151a Fix infinite loop in the qjs repl 2022-12-22 11:56:20 +01:00
pancake
cb764ac449 Make r2 -j work as a hashbang handler for qjs ##lang
* Fix "script not found" issue, solve command injection bugs
2022-12-22 11:56:20 +01:00
pancake
f58043efb7 Fix address of flags in iostream's :f 2022-12-22 02:26:54 +01:00
pancake
f87ec6dc44
Initial implementation of the generic io-stream api ##io 2022-12-22 01:57:59 +01:00
pancake
8c4e332ba0 Print whatever is taken from io_system to rcons ##shell 2022-12-21 18:19:45 +01:00
pancake
374178acfd
Fix harmless UB oobread in list command 2022-12-21 18:07:30 +01:00
pancake
b7f6d400c0 Make RReg refcounted ##api 2022-12-21 10:46:23 +01:00
pancake
67afeb55ad Working apt and add apl to list function preludes ##analysis 2022-12-20 19:52:40 +01:00
pancake
12bfb6b43f Initial support for threads in esil ##esil 2022-12-20 19:52:40 +01:00
DaKnig
90dd9cd237
Fix use after free in graph 2022-12-20 00:20:09 +01:00
pancake
09c68c7fb0 Initial work in graph.bubble for custom bg color in nodes ##graph 2022-12-19 10:15:46 +01:00
pancake
9d657a1472 Implement {ctz|clz}{32|64} RNum ##api 2022-12-19 00:25:06 +01:00
pancake
12875deeb9 Add the arch.preludes() callback and new RSearchKeyword constructor ##arch 2022-12-18 23:24:44 +01:00
pancake
b2f14229e3 Move anal.v850 to arch ##arch 2022-12-18 23:24:40 +01:00
pancake
4a8f807f72 Add ve command to set fg/bg colors for current panel ##panels 2022-12-18 22:34:21 +01:00
Ole André Vadla Ravnås
c4b4323cbd Fix JSON encoding of unsigned search values ##search
This fix means `cfg.json.num` is taken into account, and large addresses
will not be encoded as negative numbers.
2022-12-17 10:03:00 +01:00
Ole André Vadla Ravnås
7a140139c2 Fix JSON encoding of section addresses ##bin
The addresses are `ut64`, not `st64`. This fix means `cfg.json.num` is
taken into account, and large addresses will not be encoded as negative
numbers.
2022-12-16 12:44:57 +01:00
Ole André Vadla Ravnås
d8ceecbaa2 Fix the XML parser ##util
The R_XML_IS_*() macros assume that `ch` has more than 8 bits, so they
can do clever subtraction and only perform a single comparison.

While we could add casts to those macros, the 0..255 clamping logic
also seems to assume there being more than 8 bits.

So these things considered it seems to make the most sense to do what
the original yxml code does, and use `unsigned`. It is also consistent
with r_xml_refend().
2022-12-15 18:46:32 +01:00
pancake
469a041b2a Cleanup and improve code quality for cmd_eval.c and cmd_help.c 2022-12-15 18:46:15 +01:00
pancake
841d262739 Remove one global variable in RCore.cmdEval() ##globals 2022-12-15 18:46:15 +01:00
pancake
5daa3e6d29 Rename axj to axlj, because axj is for jmp refs ##analysis 2022-12-14 12:13:45 +01:00
pancake
c5b7cc48a2 Introduce anal.tailcall.delta and use flags for better metrics ##analysis 2022-12-14 12:13:45 +01:00
pancake
3410de127a Improve the tailcall detection logic ##analysis
* Add missing RAnal.XrefType.JUMP.toString()
2022-12-14 12:13:45 +01:00
pancake
918f348107 Improve warning that only seems to happen when anal.nopskip is set ##analysis 2022-12-13 20:48:58 +01:00
pancake
59aaf0c416 Fix assert in Str.Trim() when r2 is not installed ##r2pm 2022-12-13 19:40:12 +01:00
pancake
92f91aff9f Fix UAF in streaming io plugins when used with io.va=1 ##io 2022-12-13 15:14:30 +01:00
pancake
4378d2de2e Use r2papi 0.0.4 with base64 and R2Api is now known as R2Papi ##lang 2022-12-13 13:21:52 +01:00
pancake
f0d4b0fe1c Fix runtime warning after leaving an rlang session ##shell 2022-12-13 09:47:04 +01:00
pancake
6d5b1a4dbe Add requirejs, simplify compilation and add js_ prefix to all the c files ##lang 2022-12-13 09:46:51 +01:00
pancake
49de7b1064 Add r_file_is_newer API 2022-12-13 09:46:51 +01:00
pancake
a4ed62b7d2 Add typescript support ##lang 2022-12-13 09:46:51 +01:00
pancake
3508e31b2d Minor improvements for js: with r2.call() and r2.cmdj ##lang 2022-12-12 13:08:33 +01:00
pancake
73d0d181e2
Enable Bignum support to the QJS interpreter ##lang 2022-12-12 12:04:18 +01:00
condret
1ce8535e90 Remove invocation of v layer cache in r_io_desc_read ##io 2022-12-12 06:27:11 +01:00
Dennis Goodlett
49160ba96c Fix counted string bug in pickle ##arch 2022-12-12 04:37:44 +01:00
condret
984a8ade53 Start rewriting io_cache.c ##io 2022-12-11 23:28:29 +01:00
condret
fc61e4f1ee Kill r_io_read_at_mapped ##io 2022-12-11 23:27:46 +01:00
pancake
cff7216df7 New RPrint.spinBar() API used from scr.demo for now ##print 2022-12-11 05:11:30 +01:00
pancake
3b8aca4af1 Add "" command to run RCore.cmdCall() ##shell 2022-12-11 05:00:15 +01:00
pancake
843da0c74f Import the alpha r2papi 0.0.2 api for qjs ##lang 2022-12-11 04:26:17 +01:00
pancake
e04ca11b98 Fix pcc trifids confussion issue ##print 2022-12-11 04:26:17 +01:00
pancake
a6a0b41bac Integrate the qjs repl into the js: command ##lang 2022-12-11 04:26:17 +01:00
pancake
9a9177736d Initial import of the interactive QJS repl ##lang 2022-12-11 04:26:17 +01:00
pancake
da96e2348d Initial import of the serial plugin ##io 2022-12-10 23:53:08 +01:00