The Mars Science Laboratory (MSL) Curiosity Rover carries a suite of instruments, one of which is the Sample Analysis at Mars (SAM) experiment. SAM is devoted to the in situ molecular analysis of gases evolving from solid samples collected by Curiosity on Mars surface/sub-surface. Among its three analytical devices, SAM has a gaschromatograph coupled to a quadrupole mass spectrometer (GC-QMS). The GC-QMS is devoted to the separation and identification of organic and inorganic material. Before proceeding to the GC-QMS analysis, the solid sample collected by Curiosity is subjected to a thermal treatment thanks to the pyrolysis oven to release the volatiles into the gas processing system. Depending on the sample, a derivatization method by wet...