Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Target newer z3, fmt, clippy * Remove reference * Add catch for sleigh size mismatch * Fix condition * fmt * Initial context work * Add context; will slowly move stuff over to using this instead * Add derives * Pub z3 * cargo fmt * Ditch cargo lock * Update ci * Remove registers from context for now until link issues are fixed * Relax context requirement * Add state equality helper * Bump z3 * Store language id in sleigh context * Update image section debug * Oops * Actually run cargo check this time; comment out thing I didn't finish writing * Try section flags instead of segment flags * Add bb-read * Only load executable sections into ghidra for now * Only load executable sections into ghidra for now * Try bumping to ghidra 11.1 * Update how loading is done for ghidra 11.1 * Fix get_registers() * Update test * Add section parsing log * Fmt * Show range instead * Kludgy try_from impl, silencing warnings, fmt, clippy * Clone if there's only one * impl (Partial)Eq for Instruction * Derive ParitalEq/Eq so that I can derive Hash soundly * Readme tweak * Remove unnecessary compile API now that Ghidraships with precompiled sla. Also added a new bin target for jingle * Initial CLI * cargo fmt * Basic bin functionality * Add readme note and two missing operations * Simplify printed model * Sleigh parsing tweaks * Update logo * Gimli change * Block tweak * Add input enumeration * Add constraint * Explicitly add pointer dependencies to input call * Add arch and fmt * Initial context stuff * Fixed up C++ build side, now to fix FFI * Fix stuff and fmt. Builds, but need to make sure it actually works * Need to fix tests now * Some small tweaks * Gitignore, heap-allocate some stuff * Tweaks * Move back to storing all images directly in context * Add test * Bump ghidra to 11.2 * Fix jingle build * Fix jingle binary build * Fixes context variables * Re-add image * Add initialize call * Some bounds checking fixes * Move pcode/assembly emitters into their own files * Add test * Change get_reg impl for now * Add wrapper to ensure an image is loaded before parsing * Fmt * Clippy * More clippy * Fix jingle * fmt * Clippy * Fix binary * Don't consume varnode in `get_register_name` * Initial trait work * Tweaks * Some build fixes * More stuff * Maybe just need to add the impls now? * Build fixed * fmt * Clippy * Actually fix build * Fix crashes * Start on gimli * Impl gimli * actually actually fix build * Fmt and gimli tweak * Remove unused file * Remove more unused files * Fix build * clippy --fix * Clippy fixes * Changes to traits * fmt * Clippy * pub perms * More trait stuff * Convert LoadedSleighContext to struct * Trying more stuff * More trait gymnastics * Clippy * Remove unused generic bounds * Add owned file * Pub all of gimli * Reshuffle * Filter * Fix loading * Display register names * Change display impl * fmt * clippy * fmt * Name tweak * Add read_bytes * cherrypick get_bytes * Add helper to summarize branches * Update logo * Update jingle.svg * Made ImageSectionIterator::new pub This would allow users to implement ImageProvider trait for their datatypes * Target master branch of z3.rs * Add rebasing API * Fix rebasing API * Context refactor * Fix formatting * fmt * Clippy * Only expose image bytes in the code space * Blanket impl for ImageProvider * Fmt * Fix spaces * Bundle Zlib (#23) * Experiment with bundling zlib * Check if testing works in CI * Suppress warnings * Revert workflow change * Re-add all-features * Multiplatform CI (#24) * Enforce Fmt and Lint in CI * Build jingle_sleigh on linux, macos, and windows * Build jingle on linux * Fix ldefs (#26) * fix ldef * return error if there are not ldefs * fix clippy --------- Co-authored-by: daniele.linguaglossa <[email protected]> * Additional CI refactor (#28) * Steal dtolnay's CI configuration * Add deflate.c to compilation (#29) * Build tweak (#30) * Fix exception warning, reorganize build rs paths * Add zconf for windows build * Re-add flag * Needed more trees I guess * Left shift tweak * Remove unnecessary pin. Add favicon.svg. * Some CLI stuff * Fix and fmt * Clippy fix --------- Co-authored-by: chf0x <[email protected]> Co-authored-by: Daniele Linguaglossa <[email protected]> Co-authored-by: daniele.linguaglossa <[email protected]>
- Loading branch information