Accidental events concerning process industries can affect not only the staff working in, but also the environment and people living next to the factory. For this reason a regulation is imposed by the European Community to prevent accidents that could represent a risk for the population and the environment. In particular, Directive 96/82/CE, the so-called 'Seveso II directive', requests a risk analysis involving also the hazardous materials generated in accidental events. Therefore, it is necessary to develop simple and economic procedure to foresee the hazardous materials that can be produced in the case of major accidents, among which the accidental heating of a chemical due to a fire or a runaway reaction is one of the most frequent. The procedure proposed in this work is based on evolved gas analysis methodology that consists in coupling two instruments: a thermogravimetric analyzer or a flash pyrolyzer, that are employed to simulate accident conditions, and a FTIR spectrometer that can be used to detect the evolved gas composition. More than 40 materials have been examined in various accident scenarios and the obtained data have been statistically analyzed in order to identify meaningful correlations between the presence of a chemical group in the molecule of a chemical and the presence of a given hazardous species in the fume produced.