Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

mikewii/CCC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CCC meant to:

  • Compile .c .cpp .s source
  • link it to .elf ARM binary image
  • extract all the linked code
  • and format it to out.txt in AR cheat code form:

[name]
XXXXXXXX YYYYYYYY
where:
XXXXXXXX - offset
YYYYYYYY - ARM instruction, or value, in little endian

It really shows it potential if used in assotiation with IDA and python scripts: it allow you to write compiled AR code ritgh in memory of debugging process, to test it out imidiately.

How to use:

Prerequirements: DevkitARM must be installed in your environment
Simply run make after setup.

There is 2 ways you can setup it:

  • see SECTIONS in linker.ld and change .jump for entry offset, edit jump.s to change dst
  • ignore jump completely and set ENTRY to fun, or any other function

Credits:

Made possible with help from, in no particular order:
@luigoalma
@Rafa10
@piepie62

About

C Code Converter to ARM(HEX)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published