https://github.com/felipensp/call
Command-line utility to execute function from specified object file
https://github.com/felipensp/call
c call dynamic lib linker object runtime
Last synced: 10 months ago
JSON representation
Command-line utility to execute function from specified object file
- Host: GitHub
- URL: https://github.com/felipensp/call
- Owner: felipensp
- License: mit
- Created: 2015-12-05T13:30:43.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-23T02:41:07.000Z (over 10 years ago)
- Last Synced: 2025-04-13T21:33:55.619Z (about 1 year ago)
- Topics: c, call, dynamic, lib, linker, object, runtime
- Language: C
- Homepage:
- Size: 6.84 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# call
Command-line utility to execute function from specified object file
#### Usage ####
```
$ ./call /lib/x86_64-linux-gnu/libc.so.6 puts "it works"
it works
call returned 0
```
```
$ ./call /lib/x86_64-linux-gnu/libc.so.6 printf $'[%s] %s\n' "`date`" `whoami`
[Sun Dec 6 10:46:34 BRST 2015] felipe
call returned 0
```
```
$ ./call /lib/x86_64-linux-gnu/libc.so.6 getcwd 0
call returned '/home/felipe/dev/call'
```