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.

OverflowError: long int too large to convert to int

See original GitHub issue

Hi, while creating the CFG for pngpixel ( see attached ) I have the following error:

my code is something like:

pngpixel = angr.Project(filename, load_options={'skip_libs': ['libpng12.so.0.54.0', 'libz.so.1.2.8'],'auto_load_libs': True})
...
self._cfg = self.project.analyses.CFGAccurate(context_sensitivity_level=1, keep_state=True)
line 201, in BVV
    value &= (1 << size) -1
OverflowError: long int too large to convert to int
[pngpixel.zip](https://github.com/angr/claripy/files/802210/pngpixel.zip)

I’m using the latest version of claripy

I hope this can help to fix this issue. Happy to retest the fix once applied.

Thanks

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
zarduscommented, Feb 28, 2017

Of course. I’m surprised you even responded so fast 😃

0reactions
github-actions[bot]commented, Jun 8, 2022

This issue has been closed due to inactivity.

Read more comments on GitHub >

github_iconTop Results From Across the Web

OverflowError: long int too large to convert to float in python
Factorials get large real fast:
Read more >
[Solved] OverflowError: Python int too large to convert to C long
OverflowError : Python int too large to convert to C long is a typical error in python which occurs when you initialize too...
Read more >
How can I fix an OverflowError: int too large to convert to float ...
I run it on my laptop so probably not. Use this code: import math from decimal import Decimal def factorial(n): if n ==...
Read more >
OverflowError: int too big to convert · Issue #2305 · flairNLP ...
The Issue When I try to embed any sentence using the BERT model "allenai/scibert_scivocab_uncased", I get this error where it shows Overflow ......
Read more >
What is the best way to avoid 'long int too large to convert to ...
Python's float type is binary floating point implementation. The mantissa storage size is too short to store a long int with exponent storage ......
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