Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stripping postjected executable causes segmentation fault #90

Open
med-ab opened this issue Oct 5, 2023 · 0 comments
Open

stripping postjected executable causes segmentation fault #90

med-ab opened this issue Oct 5, 2023 · 0 comments

Comments

@med-ab
Copy link

med-ab commented Oct 5, 2023

cp $(which node) .
npx postject node NODE_SEA_BLOB sea-prep.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2

warning: Can't find string offset for section name '.note.100'
warning: Can't find string offset for section name '.note.100'
warning: Can't find string offset for section name '.note.100'
warning: Can't find string offset for section name '.note.100'
warning: Can't find string offset for section name '.note.100'
warning: Can't find string offset for section name '.note'
warning: Can't find string offset for section name '.note.100'
warning: Can't find string offset for section name '.note.100'
warning: Can't find string offset for section name '.note.100'
💉 Injection done!

./node

hello

strip node

strip: stpmoKLq: section .text lma 0xb68000 adjusted to 0xb68418
strip: stpmoKLq: warning: allocated section `' not in segment
strip: stpmoKLq: warning: allocated section `' not in segment
strip: stpmoKLq: warning: allocated section `' not in segment
strip: stpmoKLq: warning: allocated section `' not in segment
strip: stpmoKLq: warning: allocated section `' not in segment
strip: stpmoKLq: warning: allocated section `' not in segment
strip: stpmoKLq: warning: allocated section `' not in segment
strip: stpmoKLq: warning: allocated section `' not in segment
strip: stpmoKLq: warning: allocated section `' not in segment

./node

Segmentation fault
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant