Skip to content

Commit

Permalink
sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
ndrewh committed Dec 27, 2024
1 parent 2151321 commit b403254
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions core/unix/preload.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,17 +167,15 @@ _init(int argc, char **argv, char **envp)

#if START_DYNAMO
pf("ready to start dynamo\n");

/* i#46: Get env from loader directly. */
dynamorio_set_envp(envp);

name = get_application_short_name();
pf("preload _init: running %s\n", name);
if (!take_over(name))
return 0;
/* FIXME i#287/PR 546544: now load DYNAMORIO_AUTOINJECT DR .so
* and only LD_PRELOAD the preload lib itself
*/
/* i#46: Get env from loader directly. */
dynamorio_set_envp(envp);
/* FIXME i#287/PR 546544: now load DYNAMORIO_AUTOINJECT DR .so
* and only LD_PRELOAD the preload lib itself
*/
# if VERBOSE
int init =
# endif
Expand Down

0 comments on commit b403254

Please sign in to comment.