When thinking about fly-by-wire, I always think about civilian aircraft (Dassault Falcon 7X, Airbus A350...) for which protections are implemented to ensure the aircraft stays in its designed flight envelope (load factor limits to avoid overstressing the airframe, AoA limits to avoid stall, bank angle limits to avoid inverted flight...). All these restrictions help maintaining the aircraft in a manageable situation while in flight. Some (e.g. pitch or bank angle limits) are OK for airliners but counterproductive for fighters. Other are clearly applicable to both (e.g. load factor. You don't want to overstress your airframe or risk a G-LOC).
My question concerns AoA protection. For fighters, I imagine this protection can avoid loss of roll control while stalling. Yet, some fighters are able to fly at AoA obviously beyond stall angle (e.g. during a cobra), suggesting this protection is not present.
Do fly-by-wire fighters have an AoA protection? If so does it prevent stall? (I can imagine a protection triggered only if a limit is reached for at least a certain amount of time, or a limit beyond stall angle but not far beyond.) Does it have to be deactivated for manoeuvre such as the cobra (I expect every system to be able to be deactivated on such aircraft)?