用Go解压编译的程序 [英] Decompiling a compiled program with Go

查看:150
本文介绍了用Go解压编译的程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经用 Go 构建了一个简单的可执行程序。

I have built a simple executable program with Go.

我已将代码编译成静态二进制程序。

I've compiled the code into a static binary program.

我想反编译输出二进制文件

I want to decompile the output binary file and get the Go source code.

推荐答案

没有工具可以做,因为Go程序被编译成机器代码,它们不包含足够的信息,以将它们转换回Go代码。标准拆卸技术仍然可能。

There is no tool to do that and as Go programs are compiled into machine code, they do not contain enough information to translate them back into Go code. Standard disassembly techniques are still possible though.

这篇关于用Go解压编译的程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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