Skip to content

将go语言的exe程序转换为shellcode时的bug #1

Description

@onedays12

在尝试将go语言的exe程序转换为shellcode并运行时直接报错,根据gc的报错信息,应该是发生了0xC0000005异常。经过调式之后,我发现是修复重定位表功能不完善(应该说是逻辑错误)导致部分绝对地址进行了错误的修正。

解决方案:“先移动,再判断”,或者使用计数器而非边界值作为循环条件

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions