https://github.com/dqneo/assembly
My Assembly sandbox
https://github.com/dqneo/assembly
assembly gas linux x86-64
Last synced: about 1 month ago
JSON representation
My Assembly sandbox
- Host: GitHub
- URL: https://github.com/dqneo/assembly
- Owner: DQNEO
- Created: 2020-02-03T07:16:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-11T09:17:37.000Z (over 6 years ago)
- Last Synced: 2025-01-04T13:43:57.002Z (over 1 year ago)
- Topics: assembly, gas, linux, x86-64
- Language: Assembly
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
My Assembly sandbox
All `*.s` codes are written in GAS for x86-64 linux so far.
# How to run
```
$ docker run --rm -it -v `pwd`:/mnt -w /mnt dqneo/ubuntu-build-essential:latest bash
root@6b996b01c7b8:/mnt# gcc 01_exit.s
root@6b996b01c7b8:/mnt# ./a.out; echo $?
42
```
If you want to use `gdb`, then run as follows
```
$ docker run --rm -it -v `pwd`:/mnt -w /mnt --cap-add=SYS_PTRACE --security-opt='seccomp=unconfined' dqneo/ubuntu-build-essential:latest bash
```