Commit Graph

185 Commits

Author SHA1 Message Date
pancake
e43107d1ca r_str_chop_ro, r_str_trim_const -> r_str_trim_ro 2018-01-08 03:29:29 +01:00
pancake
335938be58 r_str_chop -> r_str_trim 2018-01-08 03:22:26 +01:00
Ziyaddin Sadigov
d4dd6fd5e6 Fix typo regarding byte size (#9067) 2017-12-27 18:33:58 +01:00
pancake
0b1e8eaecc Fix almost all warnings from the msvc build 2017-12-19 00:18:39 +01:00
pancake
a8897b107d Fix #9015 - use after free when quitting main thread having background server threads 2017-12-18 13:27:26 +01:00
Siarhei Siniak
aea0912fb6 Add workaround for .-- (#9009)
1. Rap server have still scr.prompt and scr.interactive enabled.
    That's why .-- will terminate a rap server loop and turn back
    to an interactive mode.
2017-12-13 12:03:39 +01:00
pancake
e467c81fe1 Implement /ce to search esil expressions matching given string 2017-11-26 19:56:09 +01:00
Siarhei Siniak
1960a2c9f7 Terminate foreground tcp and http servers 2017-11-26 14:28:57 +01:00
Srimanta Barua
373227140b fix memread after int->bool in io (#8659) 2017-10-08 12:04:12 +02:00
pancake
cb137dfef3 Fix crash in =<5 2017-09-15 16:08:32 +02:00
pancake
52ebe07f49 Fix #8502 - Crash in =< dt 2017-09-13 15:19:38 +02:00
Fangrui Song
4fb1a97589 Fix out-of-bounds read in rtr.c (#8468) 2017-09-12 00:28:51 +02:00
condret
2f201bded0 opsalamance - merge the big siol branch
- Thanks @MaskRay and @condret
2017-08-22 09:42:16 +02:00
Fangrui Song
475edf033d More cfg.newtab=1 completion and misc fixes to help messages (#8184) 2017-08-11 11:45:32 +02:00
SrimantaBarua
e18f79ab11 update help message for gdbserver 2017-08-09 16:17:03 +02:00
pancake
96ac03cfec Fix sj 2017-07-27 02:26:54 +02:00
Srimanta Barua
277771156c fix gdb covs (#8036) 2017-07-26 20:20:07 +02:00
Anton Kochkov
41e21634ab Coverifixes (#8026) 2017-07-26 14:41:03 +08:00
Srimanta Barua
e4cce06671 Added reading of executed file name to gdbserver 2017-07-21 20:06:41 +02:00
pancake
ac3c7406b8 Fix last covs 2017-07-21 19:03:20 +02:00
pancake
b29f204049 Html filtering on string buffers to avoid sandboxing issues in the http server 2017-07-20 15:36:49 +02:00
pancake
ccce9afc66 Fix last covs 2017-07-19 16:45:27 +02:00
pancake
0c73a34a77 Fix crash in recent rtr code 2017-07-17 12:05:37 +02:00
Srimanta Barua
7858bb970d Un-hardcode reporting of stop reason, and add read/write of single reg to gdbserver (#7938)
* Better reporting of stop reason by gdbserver

* Added read/write of single reg
2017-07-17 08:51:30 +02:00
Srimanta Barua
b59276938e Added debugging of protocol messages in gdbserver (#7931) 2017-07-16 12:01:17 +02:00
Srimanta Barua
ff7b6c1df2 Optimized gdbserver mem read, and added gdbserver mem write 2017-06-29 17:17:22 +02:00
pancake
5af3ec4b66 Fix last covs 2017-06-18 01:11:11 +02:00
Srimanta Barua
fe6372339d Corrected gdbserver register-setting 2017-06-14 15:38:10 +02:00
Srimanta Barua
e5e860a3ea Added loading of offsets 2017-06-14 15:38:10 +02:00
pancake
1f1fb38b2a Fix | and |H suffix in sandbox mode, happify the webserver 2017-06-12 23:34:51 +02:00
Srimanta Barua
d81f369fa1 Fix gdb client packet size (#7703)
* Fixes for packet too long
* Proper escaping in packets and run-length encoding
* Removed old cache code
* Removed currently unnecessary code from client initialization
* Preparation for customized packet sizes
* Better packet-size configuration
* Minimum packet size (for AVR)
* mem_write too
* Corrections to packing code
* Was overcompensating for AVR. (pkt_sz = 16 => read_mem_len = 8)
2017-06-11 02:12:44 +02:00
Srimanta Barua
ad764839b2 Initial breakpoints, step, and continue for gdbserver. Plus *started* talking to GDB (#7679)
* GDB doesn't crash when connecting to us anymore

* Added initial support for breakpoints, step, continue to gdbserver
2017-06-04 22:22:01 +02:00
Srimanta Barua
0da8862a83 Add read reg/mem to gdbserver (#7625)
* bug fixes in client, and adding kill signal for server without multiprocess support
* commented out currently unnecessary packets sent by client
* Corrections to client kill signal code
* More functionality for gdbserver. Read regs and memory
2017-05-29 21:36:42 +02:00
pancake
9e19118eff Fix latest covs 2017-05-23 11:24:04 +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
pancake
b282656bbb Improve error checking and fallback in the sandboxed http 2017-04-26 15:31:27 +02:00
pancake
67b1d7a655 Retly incremental ports instead of infinite loop in =h& 2017-04-03 23:22:59 +02:00
pancake
36e96f2546 Fix rtr segfault when bruteforcing on different threads 2017-04-03 01:00:45 +02:00
pancake
7db1a11d33 More reindent and use R_EMPTY instead of {0} 2017-03-25 02:30:00 +01:00
pancake
85d1c2b150 Do not enable scr.html by default in =H 2017-03-19 02:10:53 +01:00
pancake
3290afc5a3 Update /p and /m with some fixes regarding scr.html 2017-03-19 01:35:21 +01:00
davidpolverari
1fb422b532 Fix #6162 - Renames r_str_concat to r_str_append 2017-03-16 22:29:49 +01:00
SchumBlubBlub
6c00c9e2d5 Reorganize string macros 2017-02-06 00:00:03 +01:00
pancake
e3e19385e8 Fix #6415 - Properly disable sandbox after http.sandbox 2017-01-09 13:19:08 +01:00
Anton Kochkov
e20ac7a139 Fix some more coverities 2016-12-22 00:21:11 +03:00
pancake
50d73d1547 Fix a lot of memleaks, null derefs and undef behaviour thanks to clang-analyzer 2016-12-19 16:44:51 +01:00
pancake
3fa97e94cb Fix latest covs 2016-11-29 11:52:24 +01:00
pancake
3fb96ff37f Fix last COVs and hopefully make travis green 2016-11-23 10:25:00 +01:00
Álvaro Felipe Melchor
87724384d1 added r_cons_break_{push/pop} to handle ^C better
Besides an UAF has been fixed afecting only ELF
2016-11-21 16:56:12 +01:00
pancake
be9df39f6f Fixed 40 null derefs reported by coverity 2016-10-20 15:02:25 +02:00