Topics

Dfuse_hl and Interception library

Colin Ngam
 

Greetings,

 

Just a couple quick questions:

  1. What is the difference between “aliased intercept” and “single intercept”?
  2. What’s the purpose of __wrap_XXX definition?

Example:
__attribute__((visibility("default"))) int __wrap_fclose (FILE *) __attribute__((weak, alias("dfuse_" "fclose")));

 

Thanks.

 

Colin

 

Colin Ngam
 

Hi,

 

How do I turn on IOIL_PRELOAD for the build?

 

Thanks.

 

Colin

 

From: <daos@daos.groups.io> on behalf of Colin Ngam <colin.ngam@...>
Reply-To: "daos@daos.groups.io" <daos@daos.groups.io>
Date: Wednesday, June 3, 2020 at 4:30 PM
To: "daos@daos.groups.io" <daos@daos.groups.io>
Subject: [daos] Dfuse_hl and Interception library

 

Greetings,

 

Just a couple quick questions:

  1. What is the difference between “aliased intercept” and “single intercept”?
  2. What’s the purpose of __wrap_XXX definition?

Example:
__attribute__((visibility("default"))) int __wrap_fclose (FILE *) __attribute__((weak, alias("dfuse_" "fclose")));

 

Thanks.

 

Colin

 

Colin Ngam
 

Never mind .. I see it get set when building shared .. I am just trying to see how the Macros get expanded.

 

From: <daos@daos.groups.io> on behalf of Colin Ngam <colin.ngam@...>
Reply-To: "daos@daos.groups.io" <daos@daos.groups.io>
Date: Wednesday, June 3, 2020 at 9:07 PM
To: "daos@daos.groups.io" <daos@daos.groups.io>
Subject: Re: [daos] Dfuse_hl and Interception library

 

Hi,

 

How do I turn on IOIL_PRELOAD for the build?

 

Thanks.

 

Colin

 

From: <daos@daos.groups.io> on behalf of Colin Ngam <colin.ngam@...>
Reply-To: "daos@daos.groups.io" <daos@daos.groups.io>
Date: Wednesday, June 3, 2020 at 4:30 PM
To: "daos@daos.groups.io" <daos@daos.groups.io>
Subject: [daos] Dfuse_hl and Interception library

 

Greetings,

 

Just a couple quick questions:

  1. What is the difference between “aliased intercept” and “single intercept”?
  2. What’s the purpose of __wrap_XXX definition?

Example:
__attribute__((visibility("default"))) int __wrap_fclose (FILE *) __attribute__((weak, alias("dfuse_" "fclose")));

 

Thanks.

 

Colin