<div>
            <div>
                <span>Hi,</span></div><div><span><br></span></div><div><span>I want to extend llvm-mc to make it disassemble whole files, instead of sequences of bytes.</span></div><div><span></span>Most of the work to read from a Mach-O file is already done by lldb, but that is outside llvm's repository and not useful to llvm-mc (as far as I know).</div><div><span><br></span></div><div><span>Is anyone working on something similar?</span></div><div><span>Is it desirable to have llvm-mc disassemble whole files? Or should I create another project for that?</span></div><div>How do you suggest reading the files? Re-implementing the reading stuff? "Steal" from lldb (I don't know how self-contained the plug-in may be… It could require a big part of lldb)? Any other ideas?</div><div><span><br></span></div><div><span>Regards,</span><span><br><br>  Filipe Cabecinhas<br><br></span>
            </div>
        </div>