News for hackers. Stuff that matters.
Re:The State of Linux Debuggers by taviso on Sunday December 13, 2020 @11:20AM (#25407599)
I don't think I have any of gdb, but I was just talking about a hobby project using frida! Frida is a tool that lets you inject v8 into any process, then exposes a javascript debugging api, I find it incredibly useful.

https://frida.re/docs/javascript-api/

https://twitter.com/taviso/status/1336693403510140929

Re:The State of Linux Debuggers by haberman on Sunday December 13, 2020 @12:45PM (#25408378)
Wow, that is very interesting. The docs say it is injecting QuickJS though, not v8?

> Frida’s core is written in C and injects QuickJS into the target processes, where your JS gets executed with full access to memory, hooking functions and even calling native functions inside the process.

https://frida.re/docs/home/

Re:The State of Linux Debuggers by taviso on Sunday December 13, 2020 @01:04PM (#25408567)
It supports both, and they've switched back and forth on what the default should be. They also supported duktape in the past.

I always use v8, because it has better compatibility with libraries and tools.

Re:The State of Linux Debuggers by bretthoerner on Sunday December 13, 2020 @12:58PM (#25408497)
Might be a case of outdated documentation/website: https://frida.re/news/2019/05/15/frida-12-5-released/
Re:The State of Linux Debuggers by haberman on Sunday December 13, 2020 @01:03PM (#25408552)
Interesting, it looks like there was a move from V8 to QuickJS more recently than that: https://frida.re/news/2020/10/28/frida-14-0-released/

EDIT: and then the default moved back in https://frida.re/news/2020/12/01/frida-14-1-released/