Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynamoRIO
  • dynamorio
  • Issues
  • #2281
Closed
Open
Issue created Mar 10, 2017 by Administrator@rootContributor

APP CRASH (acprotect-hostname.exe) sandboxing addr16 push %fs:0x00[4byte]

Created by: Simorfo

With version 6.2.0-2 of DynamoRio The latest build does not solve the problem

On Windows 7, with a 32 bit application, acprotect-hostname.exe the classic hostname software packed with acprotect

I run it with (no client) C:\rio\bin32\drrun.exe -- acrotect-hostname.exe

The expected output is a line with the hostname. Instead we get a crash with message

SYSLOG_ERROR: Usage error: encode error: invalid 16-bit base+index (encode.c, line 1622)

The problem is sandboxing following instruction 64 67 ff 36 00 00 addr16 push %fs:0x00[4byte] %sp -> %sp 0xfffffffc(%sp)[4byte]

I think that the second destination operand should be 0xfffffffc(%esp)[4byte] (32 bit esp instead of 16 bit esp) With sandboxing, we try to insert lea 0xfffffffc(%sp) -> %ebx but we cannot encode 0xfffffffc(%sp) as an argument for lea.

I will submit a pull request with a simple test shortly

Assignee
Assign to
Time tracking