OverflowError: long int too large to convert to int
See original GitHub issueHi,
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:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Of course. I’m surprised you even responded so fast 😃
This issue has been closed due to inactivity.