I have a Windows PE executable which I suspect is calling read with an incorrect byte count. Is it possible to set a break that will be triggered when the read function is called. I have looked in the winedbg manual but could not find anything relevant.
I have no strong reason for using winedbg beyond convenience. As I type this I am installing Visual Studio on a virtual Windows 7, so if winedbg is not suitable then I would be interested in other suggestions, either using Linux or Windows.