Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Int overflow (ASTNode.offset)

Do you have evidence of this happening? If so, what is it?

-sergey

On Sun, Sep 14, 2014 at 11:33 PM, Menyhért Ákos <menyhert.akos@xxxxxxxxxxxxxxxx> wrote:
No, the ASTNode.offset (PPP offset) and the startNumber parameter of the node constructors can be overflow, when the project contains lots of files and includes.

Regards,
Akos


2014.09.12. 16:47 keltezéssel, Nathan Ridge írta:
In our project we would like to use CDT to parse large C code bases. It  
works for us perfectly but we found a little problem. In the ASTNode  
and all of the other place the offset is stored in int type, but it can  
overflow when the project is large enough. Can you suggest a workaround  
or should we post it to bugzilla? 
Are you referring to an offset into a single source file? If so, do you mean 
you have a source file that is larger than 2 GB in size?

Regards,
Nate
 		 	   		  
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top