What would be the difficulty level for it to just read the machine code; are these models heavily relying on human language for clues?
You use decompilation tools and hope they left debug symbols in and it turns it into somewhat human-readable language which is often enough. Even when you don't binaries use libraries which are known or at some point hit documented interfaces so things can be reasoned about.