Skip to content

No suitable text section to insert trampoline metadata #574

@CvvT

Description

@CvvT

I found another .so file that rewriter failed to rewrite: https://microsoft-my.sharepoint.com/:u:/p/weitengchen/IQDT8Num0nB-QbYGgdDxi-RyAc2Cr4wHfdwWFP1r9MwZmPM?e=gWul0h

It returned an error at the line:

return Err(Error::NoTextSectionFound);

Program Headers:
  Type           Offset             VirtAddr           PhysAddr
                 FileSiz            MemSiz              Flags  Align
  PHDR           0x0000000000000040 0x0000000000000040 0x0000000000000040
                 0x0000000000000268 0x0000000000000268  R      0x8
  LOAD           0x0000000000000000 0x0000000000000000 0x0000000000000000
                 0x0000000000136414 0x0000000000136414  R      0x1000
  LOAD           0x0000000000136414 0x0000000000137414 0x0000000000137414
                 0x000000000033438c 0x000000000033438c  R E    0x1000
  LOAD           0x000000000046a7a0 0x000000000046c7a0 0x000000000046c7a0
                 0x0000000000032918 0x0000000000033860  RW     0x1000
  LOAD           0x000000000049d0b8 0x00000000004a00b8 0x00000000004a00b8
                 0x00000000000052f0 0x00000000000055d8  RW     0x1000
  TLS            0x000000000046a7a0 0x000000000046c7a0 0x000000000046c7a0
                 0x0000000000000020 0x0000000000000070  R      0x8
  DYNAMIC        0x000000000049c7a8 0x000000000049e7a8 0x000000000049e7a8
                 0x00000000000001f0 0x00000000000001f0  RW     0x8
  GNU_RELRO      0x000000000046a7a0 0x000000000046c7a0 0x000000000046c7a0
                 0x0000000000032918 0x0000000000033860  R      0x1
  GNU_EH_FRAME   0x00000000000ead68 0x00000000000ead68 0x00000000000ead68
                 0x0000000000009184 0x0000000000009184  R      0x4
  GNU_STACK      0x0000000000000000 0x0000000000000000 0x0000000000000000
                 0x0000000000000000 0x0000000000000000  RW     0x0
  NOTE           0x00000000000002a8 0x00000000000002a8 0x00000000000002a8
                 0x0000000000000024 0x0000000000000024  R      0x4

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions