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

Fix C++ sleighexample #6276

Merged

Conversation

ekilmer
Copy link
Contributor

@ekilmer ekilmer commented Mar 4, 2024

Commit 8fbd171 broke the example.

Steps to build the example:

git clone https://github.com/NationalSecurityAgency/ghidra
cd ghidra
gradle -I gradle/support/fetchDependencies.gradle init
gradle x86:sleighCompile
cd Ghidra/Features/Decompiler/src/decompile/cpp
make sleighexamp_dir
cd sleigh-2.1.0
make sleighexample

and then you can run it

./sleighexample disassemble
./sleighexample pcode
./sleighexample emulate

Found and fixed after having issues in lifting-bits/sleigh#245.

Related to:

* We need to link to zlib now

* The method for loading compiled sleigh files has changed
@ryanmkurtz ryanmkurtz added Feature: Decompiler Status: Triage Information is being gathered labels Mar 4, 2024
@ryanmkurtz ryanmkurtz added Status: Internal This is being tracked internally by the Ghidra team and removed Status: Triage Information is being gathered labels Apr 1, 2024
@ryanmkurtz ryanmkurtz added this to the 11.1 milestone Apr 1, 2024
@ryanmkurtz ryanmkurtz merged commit 1c0fc88 into NationalSecurityAgency:master Apr 3, 2024
@ekilmer ekilmer deleted the fix-sleighexample branch April 3, 2024 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Decompiler Status: Internal This is being tracked internally by the Ghidra team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants