├── Build.sh ├── LICENSE ├── README ├── R_compiler.txt ├── R_syntax.bnf ├── backarm.c ├── backarm64.c ├── backend.h ├── backtxt.c ├── backx86.c ├── backx86_64.c ├── binary.c ├── binary.h ├── code.c ├── code.h ├── config.h ├── cycle.c ├── cycle.h ├── depend ├── elf.h ├── emit.c ├── emit.h ├── lexer.c ├── lexer.h ├── parser.c ├── parser.h ├── qwerty ├── payload.asm ├── payload.inc ├── rope.asm ├── rope.c └── test.c ├── ropc.c ├── sample ├── Makefile ├── Makefile.dry ├── Makefile.linux ├── Makefile.macos ├── README ├── dyld_shared_cache_arm64 ├── dyld_shared_cache_armv7 ├── dyld_shared_cache_i386 ├── dyld_shared_cache_x86_64 ├── ent.xml ├── loader.c ├── rope.c ├── rope2.c ├── rope3.c ├── rope3a.c ├── wrap-arm.asm ├── wrap-arm64.asm ├── wrap-x86.asm └── wrap-x86_64.asm ├── symtab.c ├── symtab.h ├── util.c └── util.h /Build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/Build.sh -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/LICENSE -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/README -------------------------------------------------------------------------------- /R_compiler.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/R_compiler.txt -------------------------------------------------------------------------------- /R_syntax.bnf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/R_syntax.bnf -------------------------------------------------------------------------------- /backarm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/backarm.c -------------------------------------------------------------------------------- /backarm64.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/backarm64.c -------------------------------------------------------------------------------- /backend.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/backend.h -------------------------------------------------------------------------------- /backtxt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/backtxt.c -------------------------------------------------------------------------------- /backx86.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/backx86.c -------------------------------------------------------------------------------- /backx86_64.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/backx86_64.c -------------------------------------------------------------------------------- /binary.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/binary.c -------------------------------------------------------------------------------- /binary.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/binary.h -------------------------------------------------------------------------------- /code.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/code.c -------------------------------------------------------------------------------- /code.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/code.h -------------------------------------------------------------------------------- /config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/config.h -------------------------------------------------------------------------------- /cycle.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/cycle.c -------------------------------------------------------------------------------- /cycle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/cycle.h -------------------------------------------------------------------------------- /depend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/depend -------------------------------------------------------------------------------- /elf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/elf.h -------------------------------------------------------------------------------- /emit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/emit.c -------------------------------------------------------------------------------- /emit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/emit.h -------------------------------------------------------------------------------- /lexer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/lexer.c -------------------------------------------------------------------------------- /lexer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/lexer.h -------------------------------------------------------------------------------- /parser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/parser.c -------------------------------------------------------------------------------- /parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/parser.h -------------------------------------------------------------------------------- /qwerty/payload.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/qwerty/payload.asm -------------------------------------------------------------------------------- /qwerty/payload.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/qwerty/payload.inc -------------------------------------------------------------------------------- /qwerty/rope.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/qwerty/rope.asm -------------------------------------------------------------------------------- /qwerty/rope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/qwerty/rope.c -------------------------------------------------------------------------------- /qwerty/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/qwerty/test.c -------------------------------------------------------------------------------- /ropc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/ropc.c -------------------------------------------------------------------------------- /sample/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/sample/Makefile -------------------------------------------------------------------------------- /sample/Makefile.dry: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/sample/Makefile.dry -------------------------------------------------------------------------------- /sample/Makefile.linux: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/sample/Makefile.linux -------------------------------------------------------------------------------- /sample/Makefile.macos: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/sample/Makefile.macos -------------------------------------------------------------------------------- /sample/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/sample/README -------------------------------------------------------------------------------- /sample/dyld_shared_cache_arm64: -------------------------------------------------------------------------------- 1 | /System/Library/Caches/com.apple.dyld/dyld_shared_cache_arm64 -------------------------------------------------------------------------------- /sample/dyld_shared_cache_armv7: -------------------------------------------------------------------------------- 1 | /System/Library/Caches/com.apple.dyld/dyld_shared_cache_armv7s -------------------------------------------------------------------------------- /sample/dyld_shared_cache_i386: -------------------------------------------------------------------------------- 1 | /var/db/dyld/dyld_shared_cache_i386 -------------------------------------------------------------------------------- /sample/dyld_shared_cache_x86_64: -------------------------------------------------------------------------------- 1 | /var/db/dyld/dyld_shared_cache_x86_64h -------------------------------------------------------------------------------- /sample/ent.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/sample/ent.xml -------------------------------------------------------------------------------- /sample/loader.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/sample/loader.c -------------------------------------------------------------------------------- /sample/rope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/sample/rope.c -------------------------------------------------------------------------------- /sample/rope2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/sample/rope2.c -------------------------------------------------------------------------------- /sample/rope3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/sample/rope3.c -------------------------------------------------------------------------------- /sample/rope3a.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/sample/rope3a.c -------------------------------------------------------------------------------- /sample/wrap-arm.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/sample/wrap-arm.asm -------------------------------------------------------------------------------- /sample/wrap-arm64.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/sample/wrap-arm64.asm -------------------------------------------------------------------------------- /sample/wrap-x86.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/sample/wrap-x86.asm -------------------------------------------------------------------------------- /sample/wrap-x86_64.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/sample/wrap-x86_64.asm -------------------------------------------------------------------------------- /symtab.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/symtab.c -------------------------------------------------------------------------------- /symtab.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/symtab.h -------------------------------------------------------------------------------- /util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/util.c -------------------------------------------------------------------------------- /util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/ropc/HEAD/util.h --------------------------------------------------------------------------------