Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export local types (enums, structs) with dumpinfo #23

Open
Pirulax opened this issue Aug 27, 2021 · 2 comments
Open

Export local types (enums, structs) with dumpinfo #23

Pirulax opened this issue Aug 27, 2021 · 2 comments
Labels
component/ida help wanted Extra attention is needed type/enhancement New feature or request

Comments

@Pirulax
Copy link
Contributor

Pirulax commented Aug 27, 2021

Is your feature request related to a problem? Please describe.
Export local types (enums, structs) with dumpinfo

Describe the solution you'd like
I'm willing to write the code for it. I'd like to add a new section to the json, like so:

"local_types": {
    "structs": [
    	{
    		"name": "CPed",
    		"name_demangled": "CPed",
    		"size": 128,
    		"members": [
				{
					"type": "ePedType",
					"name": "m_nPedType",
					"offset": 4,
				}
    		]
    	}
    ],
    "enums": [
    	{
    		"name": "ePedType",
    		"name_demangled": "ePedType",
    		"values": [
    			["PED_TYPE_PLAYER", 1]
    		]
    	}
    ]
}

Describe alternatives you've considered
I do have another tool to do this job, but I'd rather have it here.

@Mixaill Mixaill added component/ida help wanted Extra attention is needed type/enhancement New feature or request labels Aug 27, 2021
@Pirulax
Copy link
Contributor Author

Pirulax commented Aug 27, 2021

Are you okay with it?
Just asking, cause I don't want to spend time on something that wont get merged.

@Mixaill
Copy link
Owner

Mixaill commented Aug 27, 2021

Looks OK (in any way I think it will be changed during implementation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/ida help wanted Extra attention is needed type/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants