TTRHEUTNPNRDUV6333ODAX4HTAQJ5GP6VEZHDOZLLJPRT7IQQITQC
HEFGMMUMJ2GGJGF2BEKF7EUL24AO53WJTXKBJSEGT64AV3Y4TBZQC
HA3ODU4GEQ4X55UDTY3QZUTD557DHTIHH2B5CSMY7YNHOBYQARBQC
SZHL3TSDHAQ3C4JKQRNYFDWOSXURPIN72HKTXQRY7YCABQDJE5FQC
K6L5F26WJMIYPP3Y3CBBUYMAK7C5SVR7NYFNU45NGU5NMDCSJJIQC
GKNZUJV6XUPOHKZEOOPOWMCYRBTMR36WTLOBEIPWZ55DX6SRUAVAC
3R24LG3WWXQAR5OLFRSYNUNXMNL6Q2EHXVOEVP3MCT4WY53COYDQC
L7S3YSSMT6JCK4A7MCXZDMDEFBP7XJITHFRDMDKJ5L2RDVHI4AHAC
6XB4RDRQIINYARVQUO3U3ZG7652UIUXBUF33U7JEJ7ASRI47EKHAC
NOSZA4ZMMICEZS4NPOE66REH2V5AWQLIUIQC7GGIKDWPNBSQFIXQC
57ARVVZEGNKP7DI5QGQWSZ22Q5T3YXXVDX2EC7PS5ITAZTLLC7HQC
SO7DQK4GHRPVOMZ2YKWHUWTZ3XUYKVV5OSIEQSHFX6VTUAPJYKFQC
ZA3236E56J2OSKXR4AWHFBTQTA64RCWMTXVZH65AIC5TK4E3DALQC
7C44WWMYZJSTATQOQKCS3VXOTUHSJHZPBXPWWLP7S7GWONJBZTJQC
2T5FQPPAY43APQPUMLXCUIT2VOCMDNYZ26OHSGNEZR3KWWXJXXXQC
I just tested in more real conditions (an extension of Sanakirja, soon to be integrated into Pijul), and found a segfault.
Oh boy, isn’t that fun?! Would it be possible to add some minimum code to reproduce these segfaults as tests?
Oh boy, isn’t that fun?
This is really fun, and also totally expected! Don’t worry, I don’t think there are too many different execution paths in that library, so testing won’t be hard. Have you tried using coverage measurements?
Another question I had was, I’d like to wrap this up and use it directly in Pijul, do you plan to add more stuff, or is it ready to test?
Have you tried using coverage measurements?
No, I haven’t!
… do you plan to add more stuff, or is it ready to test?
It should be good to go, since I translated everything including the new things from the reference implementation, which we should always keep an eye on (perhaps stating on the repo’s README?). What we could do after testing and whatnot is improve performance, but that’s not required.
2Y6NJCN4BJLG3XRLXLUCTTB537E6FMGU7JICU4PGNWMVJ6FHVOBQC
MHZGMWJEW5YBHXSK77U5TCCGETWCTCQFPFC32H4URMLBTG5WMTAQC
GXWDF2M2F5VA4JR6TC5RI5TFVWY7CA6C4ZW2UXGLD66Z4VSY6PMAC
N625OONSW6AGYBJ6JIOKMMMEPFNW535TGPA6YFZSIUTYDLMJ6B2QC
G7F7Q5HNJFOQGSDHKY43ITEMMSZ2Q5SNMKL5DZLZTR5GLH2IRLPAC
Thanks! I’m closing this discussion just to mean that it is solved, feel free to continue pushing/discussing.
Discussion related to convert C files to Rust, see Zulip thread.