Skip to content

pe: Support exception data for ARM64 #512

@loewenheim

Description

@loewenheim

Currently goblin supports exception data only for x86_64 PE files:

goblin/src/pe/mod.rs

Lines 265 to 267 in c029a2c

if header.coff_header.machine == header::COFF_MACHINE_X86_64 {
// currently only x86_64 is supported
debug!("exception data: {:#?}", exception_data);

llvm-objdump also only supports PE unwind info for AMD64:

❯ llvm-objdump -u App_arm64.exe

App_arm64.exe_: file format coff-arm64
Unwind info:

llvm-objdump: error: unsupported image machine type (currently only AMD64 is supported).

How difficult would it be to extend this support to ARM64? Is it a question of documentation?

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