-
Notifications
You must be signed in to change notification settings - Fork 0
annaknow/cs59project
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Two new major modes for emacs, written in elisp elf.el (elf-mode) - syntax highlighting for elf64-x86-64 files (produced by objdump) basic-hexl.el (basic-hexl-mode) - a simple version of hexl-mode that allows you to edit the hex values directly How to use: make sure both files are in the same directory, load basic-hexl.el, which will load elf.el. use basic-hexl-mode on a binary file and try the command basic-hexl-disassemble sources: Some regex and other inspiration originally from: https://github.com/emacs-mirror/emacs/blob/master/lisp/progmodes/asm-mode.el Also https://www.emacswiki.org/emacs/DerivedMode https://www.emacswiki.org/emacs/ModeTutorial https://www.emacswiki.org/emacs/RegularExpression for work on hexl: http://opensource.apple.com//source/emacs/emacs-39/emacs/lisp/hexl.el https://github.com/emacs-mirror/emacs/lisp/hexl.el I had an odd bug with dependencies and loading where if I didn't call hexl-mode at least once before loading my-hexl it doesn't find my-hexl. I think it went away
About
cs59 project
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published