cereal icon indicating copy to clipboard operation
cereal copied to clipboard

A C++11 library for serialization

Results 177 cereal issues
Sort by recently updated
recently updated
newest added

I was very surprised to find the following statement buried [in the middle of your documentation](https://uscilab.github.io/cereal/serialization_archives.html). > cereal was not designed to be a robust long term storage solution -...

Running deepcode it found 3 possible leaks/problems and 2 recommendations ([DeepCode](https://www.deepcode.ai/)): Link to report: https://www.deepcode.ai/app/gh/USCiLab/cereal/3e4d1b84cab4891368d2179a61a7ba06a5693e7f/_/dashboard

I am encountering an error while trying to (de)serialize a struct containing data-structure of type [unsigned __int128](https://gcc.gnu.org/onlinedocs/gcc/_005f_005fint128.html). > error: static assertion failed: cereal could not find any input serialization functions...

It isn't stated in the documentation regarding polymorphism but it appears that using CEREAL_REGISTER_POLYMORPHIC_RELATION requires that the specified base class is abstract. If the base class isn't abstract then a...

`boost::rtree` does not provide stable code for serialization, and it only has some [experimental codes](https://www.boost.org/doc/libs/1_64_0/boost/geometry/index/detail/serialization.hpp). So, can `cereal` support serialization for ``boost::rtree`?

I am trying to apply Cereal to a non-standard type, which is trivially copiable binary blob. The type is in an external library that cannot be modified. I am hoping...

tech support

Serializing the C/C++ native type ```long double``` stores uninitialized data into the serialized form. Compile and run the following program with valgrind to observe this. ```cpp #include #include #include #include...

I am facing the issue that the final application creates a library/exp file and exports functions because of this declaration: https://github.com/USCiLab/cereal/blob/a5a30953125e70b115a28dd76b64adf3c97cc883/include/cereal/details/static_object.hpp#L48 This might be a wanted situation when you are...

Loading untrusted XML can lead to a null pointer dereference: ```cpp #include int main(void) { const std::string s = "a"; std::stringstream ss(s); cereal::XMLInputArchive archiveFrom(ss); char c; archiveFrom(c); return 0; }...