Skip to content

Possible issue: Javassist cannot instrument native methods. #19

@greatmazinger

Description

@greatmazinger

I'm pretty sure that Javassist cannot instrument native methods, so I'm ignoring native methods in the current version of ET2. Need to look into:

  1. Is this a problem in terms of completeness of the trace? (Probably is).
  2. Find ways to instrument native methods in spite of the Javassist limitation
  3. Possible solution: rename the method by mangling the filename uniquely. Then created a non-native stub version that does the tracing, then calls the native version of the function. Very much like how a Python decorator works.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions