7f7a7b6d6a2a370f8c35bd4f96b21f7ba77abdcc
GCC's -Wstringop-overflow flagged the memcpy in SobolIni() with a bound of (size_t)(-4): on the (in practice unreachable) path where the Sobol generator polynomial 'powers' is 0, the bit-count loop leaves inibits at its initial -1, so inibits*sizeof underflows. The generator-polynomial table always has a non-zero first column, so this never happens at run time, but the compiler cannot prove it. Guard the copy with 'if (inibits > 0)', which silences the false-positive warning and hardens the edge case without changing behaviour for valid input. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
musrfit - muSR and beta-NMR data analysis package
Contents
This is a data analysis package to analyze time differential muSR and beta-NMR data. Currently it allows the following:
- set up most commonly used fitting functions for muSR and beta-NMR
- fit data, including global fits
- show the fit results and the residuals
- show the Fourier transform of the data
- easily extract the fit parameters and import in other programs (gnuplot, qtiplot/origin, ...)
- generate input fitting files for follow-up runs
- generate global input fitting files based on a single run template
- implement more sophisticated user functions (e.g. GL vortex lattice, Meissner screening including low-energy muon stopping profiles)
Currently supported platforms:
- Linux
- Mac OS X
- Windows 10 1809 or newer - current state is for the commited ones
- Web based implementation - http://musruser.psi.ch/cgi-bin/musrfit.cgi
Documentation
For a more exhaustive user documentation see:
https://lmu.pages.psi.ch/musrfit-docu/index.html
Contacts
For the beta-NMR related parts, please contact Zaher Salman zaher.salman@psi.ch
Releases
5
v1.11.2 - Stable 06/26
Latest
Languages
C++
88.2%
Wolfram Language
6.5%
C
2.4%
CMake
1.9%
Perl
0.5%
Other
0.4%