Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Binject/debug

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

282 Commits
282 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Debug

We have forked the debug/ folder from the standard library, to take direct control of the debug/elf, debug/macho, and debug/pe binary format parsers. To these parsers, we have added the ability to also generate executable files from the parsed intermediate data structures. This lets us load a file with debug parsers, make changes by interacting with the parser structures, and then write those changes back out to a new file.

Relocation editing

  • debug/elf: AddRelocation, AddRelocations, ReplaceRelocations, RemoveRelocations, AddRelocationForSymbol, AddRelocationForAddr, AddRelocationsToRelocSection, RemoveRelocationsFromRelocSection (alloc relocs can now grow via a new PT_LOAD when needed)
  • debug/macho: AddRelocation, AddRelocations, ReplaceRelocations, RemoveRelocations, AddScatteredRelocation, AddRelocationForSymbol, AddRelocationForSymbolWithDylibOrdinal, SetDylibOrdinalForSymbol, SetBindKindForSymbol
  • debug/pe: AddBaseRelocation, ReplaceBaseRelocations, RemoveBaseRelocations, AddBaseReloc, AddSectionRelocation, AddSectionRelocationForSymbol, ReplaceSectionRelocations, RemoveSectionRelocations

Read more about the project here:

https://www.symbolcrash.com/2019/02/23/introducing-symbol-crash/

About

Fork of pkg/debug that adds some additional functionality.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.