dwarf
brew install dwarf
v0.4.0_1
GPL-2.0-or-later
Object file manipulation tool
4
30-day installs · #10988
15
90-day · #10547
79
365-day · #9798
29
★ GitHub stars · updated 8y ago
Runtime dependencies
Links
- https://github.com/elboza/dwarf-ng/
- GitHub: elboza/dwarf-ng
- Brew formula source: Formula/d/dwarf.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"flex",
"readline"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Object file manipulation tool",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:37:11+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "dwarf",
"github_default_branch": "master",
"github_last_commit_at": "2017-10-23T21:32:09Z",
"github_readme_excerpt": "dwarf-ng\n========\n\n### -- a little and powerful object file manipulation tool and hex editor.\n\n\n**dwarf-ng** is a powerful object file manipulation tool and hex editor in the spirit of _gdb_. with dwarf-ng you can read and edit all the file\u0027s section headers as well as the raw data. With dwarf-ng you can create and customize new file\u0027s header and it can be used as a compiler back-end to create executables/object files. dwarf-ng also permits to inject easily new headers and pieces of code/data into the file. dwarf-ng currently handles\n\n* Raw\n* ELF (Elf32, Elf64),\n* PE (Portable executables PE32, PE+) and\n* Mach-O (os x executables 32\u002664bit)\n\nfiles format. In the future new files type will be added.\n\n\n## HOWTO INSTALL\n\n```\n$ make help #(show make options)\n$ make #(make FLEX=osx #to build in macosx)\n$ sudo make install\n```\n\n## Dependencies\n\n* flex\n* bison\n* readline (libreadline libreadline-dev)\n* gcc\n\n### documentation\n\nread the [dwarf man page](doc/xdwarf.man.html)\n\n### dwarfrc\n\ndwarf look for config files in sequence: `/etc/dwarfrc` and `~/.dwarfrc` .\nhere is an example of a config file:\n\n```\n#dwarf config file.\n\n\twork_on_tmpcopy=yes #(yes|no)\n\tverbose=0 #this is a comment\n\ttmpdir=\"/tmp\"\n\ttmpname=\"dw_temp_filex\"\n\tcolors=yes #(yes|no) yes=normalcolor\n\t#theme=2 #(0=nocolor, 1=normalcolor, 2=boldcolor)\n\n```\n### usage\n```\n$ ./dwarf -h\ndwarf-ng-0.4.0 (c) Fernando Iazeolla 2007-2013-2017.\n\nUSAGE: dwarf [options] [file]\nvalid options:\n-s --stdin file from stdin\n-i --shell --interactive interactive (shell mode)\n-h --help show this help\n-c \u0027\u003ccommands\u003e\u0027 --command \u0027\u003ccommands\u003e\u0027 command mode (execute commands)\n-e \u0027\u003ccommands\u003e\u0027 --command \u0027\u003ccommands\u003e\u0027 command mode alias (execute commands)\n-x \u003cfile\u003e --execute \u003cfile\u003e execute file script\n-v --version show dwarf-ng\u0027s version number\n-f \u003cfile\u003e --file \u003cfile\u003e open file\n-p ",
"github_repo": "elboza/dwarf-ng",
"github_stars": 29,
"github_topics": [],
"homepage": "https://github.com/elboza/dwarf-ng/",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 4,
"installs_365d": 79,
"installs_90d": 15,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "GPL-2.0-or-later",
"llm_generated_at": null,
"llm_model": null,
"name": "dwarf",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 10988,
"rank_365d": 9798,
"rank_90d": 10547,
"raw_hash": "6c81159dd5f6dec6",
"recommended_dependencies": [],
"revision": 1,
"ruby_source_path": "Formula/d/dwarf.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [
{
"bison": "build"
}
],
"version_head": null,
"version_stable": "0.4.0",
"versioned_formulae": [],
"why_use_this": null
}