https://github.com/aaravmalani/constantpool-editor
🍵 Edit the constant pool of a Java class
https://github.com/aaravmalani/constantpool-editor
collaborate java learn python python3
Last synced: over 1 year ago
JSON representation
🍵 Edit the constant pool of a Java class
- Host: GitHub
- URL: https://github.com/aaravmalani/constantpool-editor
- Owner: AaravMalani
- License: mit
- Created: 2023-02-01T06:20:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-15T06:34:31.000Z (over 3 years ago)
- Last Synced: 2025-03-22T00:11:15.135Z (over 1 year ago)
- Topics: collaborate, java, learn, python, python3
- Language: Python
- Homepage:
- Size: 102 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]
[![LinkedIn][linkedin-shield]][linkedin-url]
Constant Pool Editor
🍵 A script to view and edit the constant pool of a Java .class file
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
### Built With
[![Python][python-shield]][python-url]
## Getting Started
### Prerequisites
* Python 3
```sh
sudo apt install python3
```
or
```sh
sudo yum install python3
```
or download from the [Python website](https://www.python.org/downloads/)
### Installation
Clone the repo and you should be done!
```sh
git clone https://github.com/AaravMalani/ConstantPool-Editor.git
```
## Usage
To run the code, use the following command
```sh
python3 main.py [options]
```
A full list of the options are given in the Wiki!
## Roadmap
- [x] Edit and view the constant pool
- [x] Parse options using `argparse`
- [ ] Add elements to constant pool
- [ ] Add a GUI
- [ ] Add documentation
See the [open issues](https://github.com/AaravMalani/ConstantPool-Editor/issues) for a full list of proposed features (and known issues).
## Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!
1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request
## License
Distributed under the MIT License. See `LICENSE` for more information.
[contributors-shield]: https://img.shields.io/github/contributors/AaravMalani/ConstantPool-Editor.svg?style=for-the-badge
[contributors-url]: https://github.com/AaravMalani/ConstantPool-Editor/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/AaravMalani/ConstantPool-Editor.svg?style=for-the-badge
[forks-url]: https://github.com/AaravMalani/ConstantPool-Editor/network/members
[stars-shield]: https://img.shields.io/github/stars/AaravMalani/ConstantPool-Editor.svg?style=for-the-badge
[stars-url]: https://github.com/AaravMalani/ConstantPool-Editor/stargazers
[issues-shield]: https://img.shields.io/github/issues/AaravMalani/ConstantPool-Editor.svg?style=for-the-badge
[issues-url]: https://github.com/AaravMalani/ConstantPool-Editor/issues
[license-shield]: https://img.shields.io/github/license/AaravMalani/ConstantPool-Editor.svg?style=for-the-badge
[license-url]: https://github.com/AaravMalani/ConstantPool-Editor/blob/main/LICENSE
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555
[linkedin-url]: https://linkedin.com/in/aaravm
[python-shield]: https://img.shields.io/badge/Python-333?style=for-the-badge&logo=python
[python-url]: https://python.org/