Re: [DynInst_API:] setting dyninst probes in firefox


Date: Mon, 30 Mar 2020 09:47:26 -0400
From: Stan Cox <scox@xxxxxxxxxx>
Subject: Re: [DynInst_API:] setting dyninst probes in firefox
Hmm, well a standalone program that pulls in libmozwayland.so does not show the problem.
% cat tstwl.c
#include <stdio.h>
#include <readline/readline.h>
#include <readline/history.h>
int
main ()
{
  char *line = NULL;
  size_t len = 0;
  ssize_t read;

  void wl_display_get_fd ();
  wl_display_get_fd ();
  while ((read = getline (&line, &len, stdin)) != -1);
}

% gcc tstwl.c -L/usr/lib64/firefox -lmozwayland -o tstwl.x
% DYNINSTAPI_RT_LIB=/usr/lib64/dyninst/libdyninstAPI_RT.so mutator-pp.x -static -e tstwl.x -f main -p 22930
tstwl.x 0x401136
ld-2.29.so 0x401136
libdl-2.29.so 0x401136
libpthread-2.29.so 0x401136
libmozwayland.so 0x401136
libc-2.29.so 0x401136
libdyninstAPI_RT.so.10.1.0 0x401136
Mutation done. Running mutatee

[← Prev in Thread] Current Thread [Next in Thread→]