strace   905

« earlier    

Using C to inspect Linux syscalls | OpsTips
A deep dive into how to make use of ptrace to inspect syscalls made by a tracee while they occur.
c  strace  5* 
19 days ago by ianweatherhogg
Dynamic shared library strace
Strace of a dynamic shared library program loading procedure
strace  syscall 
29 days ago by xxr3376
Remote Code Execution in Alpine Linux
tl;dr I found several bugs in apk, the default package manager for Alpine Linux. Alpine is a really lightweight distro that is very commonly used with Docker...
alpine  strace 
4 weeks ago by ianweatherhogg
Debugging Stuck Ruby Processes—What to do Before You Kill -9
You can also use other tracing tools to examine the behavior of the looping process. On Linux, strace -p <pid> allows you to view the system calls being made by the process. If you’re on an OS that has dtrace available, you can use dtruss -p <PID> instead to get a similar output.

```
On Linux:
# strace -p <pid>

On Mac:
# dtruss -p <pid>

gdb -p <pid>
(gdb) t a a bt
(gdb) call (void)rb_backtrace()
```
strace  osx  dtruss  ruby  debug  debugging 
7 weeks ago by hellsten
Intercepting and Emulating Linux System Calls with Ptrace « null program
The ptrace(2) (“process trace”) system call is usually associated with debugging. It’s the primary mechanism through which native debuggers monitor debuggees on unix-like systems. It’s also the usual approach for implementing strace — system call trace. With Ptrace, tracers can pause tracees, inspect and set registers and memory, monitor system calls, or even intercept system calls.
ptrace  strace  debugging  linux 
june 2018 by euler

« earlier    

related tags

*bsd  4*  5*  alpine  api  arp  article  assembly  aws  bash  bcc  bpf  bug  bug_hunting  c  call  cat  cli  command  commands  containers  core  curl  debug  debugging  dev_ops  developement  devops  dns  docker  dtrace  dtruss  dump  dynamic  ebpf  ec2  education  elf  environment  erlang  evans  example  favorite  free  ftrace  gcc  gdb  github_repos  glibc  go  golang  gophercon  grep  guide  hadoop  higher_quality  howto  htop  ifttt  important  int80h  internal  interpose  ip  julia  jvm  kernel  krobes  language  learning  library  linker  linux-internals  linux  locale  logging  lowlevel  ls  lsof  ltrace  macos  malloc  mmap  monitor  monitoring  net  network  openfiles  operating-systems  os  osx  path  perf  performance  php  pid  postgresql  prformace  process  profiling  programming  protocol  ps  ptrace  read  redirect  root-cause  ruby  secret  security  shell  sip  sleep  socket  stack  stackexchange  stackoverflow  static  stickers  sysadmin  syscall  sysdig  system  system_administration  tcp  tcpdump  techmint  terminal  test  tool  tools  top  trace  tracepoints  tracing  troubleshooting  tutorial  uninterruptable  unix  uprobes  userspace  utility  w  weapon  wellons  win32  zwischenzugs 

Copy this bookmark:



description:


tags: