While cheap knockoff analyzers often ship with pirated software (e.g. Saleae) many, if not most, work equally as well with the open source Sigrok software.
Saleae gives their software away for free, there's not any need to pirate it but still using their software is morally shady IMO because they put a lot of effort into it. I prefer Sigrok anyway, even with the actual Saleae analyzers.
Also worth noting that Sigrok loads the analyzer with open source firmware, you're not using any pirated code. The hardware is basically a clone of the original Saleae logic analyzer, but the Saleae hardware is just a standard reference implementation of a cheap Cypress chip so that doesn't really bother me.