strace   911

« 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* 
september 2018 by ianweatherhogg
Dynamic shared library strace
Strace of a dynamic shared library program loading procedure
strace  syscall 
september 2018 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 
september 2018 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 
august 2018 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  analytics  api  arp  article  assembly  aws  bash  bcc  bpf  bug  bug_hunting  c  call  capture  cat  cli  code  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  go  golang  gophercon  grep  guide  hadoop  higher_quality  howto  htop  ifttt  important  int80h  internal  interpose  ip  julia  jvns  kernel  krobes  language  learning  library  linker  linux-internals  linux  locale  logging  lowlevel  ls  lsof  ltrace  macos  malloc  mmap  monitor  monitoring  namespace  net  netns  network  networking  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  sys  sysadmin  syscall  sysdig  system  system_administration  tcp  tcpdump  techmint  terminal  test  tips  tool  tools  top  trace  tracepoints  tracing  traffic  troubleshooting  tutorial  uninterruptable  unix  uprobes  userspace  utility  w  weapon  wellons  win32  zwischenzugs 

Copy this bookmark: