question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Any up to date document or tutorials?

See original GitHub issue

Hi, we are trying to use Phosphor as part of our project.

When we try to instrument the class with MultiTainter.taintedX method, we always get java.lang.IllegalStateException: Calling uninstrumented Phosphor stubs!, can you explain the life cycle of Phosphor?

Thank you

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
katherine-houghcommented, Jun 5, 2022

Could you create a failing test in Phosphor or a minimal project reproducing your issue?

If you use the java option -DphosphorCacheDirectory=<PATH> where <PATH> is a path to some directory. Phosphor will cache instrumented classes in that directory. You could then examine the instrumented class file produced for DirectTaintTest using javap, the Java class file disassembler, by running the command “javap -private -verbose <CLASS_FILE>” where <CLASS_FILE> is the instrumented class file produced for DirectTaintTest. See https://docs.oracle.com/javase/7/docs/technotes/tools/windows/javap.html for more details on javap.

1reaction
asesidaacommented, Jun 5, 2022

Hi, thank you for reply.

I don’t seem to be able to get the same result, in my case, i will get empty taint for first a[1] and s.

I am using 0.0.5-SNAPSHOT in my pom.xml, are there any other configurations that I need to use?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Federal Register Tutorial | National Archives
Federal Register Tutorial ... What Types of documents are in the Proposed Rules section ? ... All FR documents specify date and time...
Read more >
Create a document in Word - Microsoft Support
With Word on your PC, Mac, or mobile device, you can: Create documents from scratch, or a template. Add text, images, art, and...
Read more >
How to Build the Best User Documentation (New Guide) | Blog
Have a product or service that needs user documentation? Here are some simple tips on how to build the best documentation for consumers....
Read more >
Google Docs training and help - Google Workspace Learning ...
Set up citations and bibliographies in Docs ... Learn how to prepare, share, and finalize a document using Google Workspace tools such as...
Read more >
Lessons learned - PMI
The lessons learned process shown in Exhibit 1 includes five steps: identify, document, analyze, store and retrieve. These steps are consistent for all...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found