如何在C中将.o文件转换回.c文件? [英] How to convert a .o file back to a .c file in C?

查看:160
本文介绍了如何在C中将.o文件转换回.c文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我敢肯定有办法.我是C的新手,对此的研究使我无所适从.是否有可以将.o文件转换为.c的命令?

I'm sure there's a way. I'm new to C and my research on this led me nowhere. Is there a command that can convert a .o file to .c?

推荐答案

通常,您只能使用反汇编程序为目标文件确定汇编语言.以下是有关该主题的讨论的一些链接,例如,用于 objdump :

Usually you can only determine the assembly language for the object file, using a disassembler. Here are a few links to discussion on that topic, e.g., for objdump:

反向编译(反编译)要困难得多.以下是一些帮助链接:

Reverse-compiling (decompiling) is much harder. Here are a few links to help:

这篇关于如何在C中将.o文件转换回.c文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆