14 Commits

Author SHA1 Message Date
Eric Kilmer 35ac50552a Fix Dockerfile and add to CI (#777) 2022-02-05 12:30:23 -05:00
Alessandro Gario 0a541eafaf libs: Build against the correct anvill version (#745) 2021-04-01 21:38:55 +02:00
Eric Kilmer 339800eda3 Rework Docker Image build (#741)
* Try reworking Docker image

* Fix some old behavior for building abi libraries

I don't think the result is actually usable...

* Remove most Python2 references

Still left some references to python2 for helper scripts since they
aren't tested (afaik) in CI

* Fix CI

* Remove old CMakeLists.txt and remove support for old TRAILOFBITS_LIBRARIES method of building

* Update README
2021-03-05 16:43:20 -05:00
Eric Kilmer c54f84a44b Remove Python2 from pushed Docker images (#731)
Had to rename the directory where the Python 3 module is installed so
that we could hard-code the PYTHONPATH to it, e.g. `lib/python3.6` ->
`lib/python3` on Ubuntu 18.04 with default Python version installed by
`apt install python3` or `lib/python3.8` -> `lib/python3` for Ubuntu
20.04.
2021-02-15 14:08:52 -05:00
Artem Dinaburg bc4d47fe94 Fix python2.7 paths due to Py2.7 EOL (#723)
* Fix python2.7 paths due to Py2.7 EOL
2021-01-26 12:40:56 -05:00
Eric Kilmer 24db01c1ba Support vcpkg build system (#717)
First step towards transitioning away from cxx-common's `pkgman.py` dependency management system towards compatibility with and use of vcpkg (https://github.com/microsoft/vcpkg) to manage dependencies.

This commit attempts to support both the new and old build systems until we can phase out the old completely.

Please see the updated remill, anvill, and trailofbits/cxx-common repositories to learn how to fetch the required dependencies.
2020-12-10 19:51:04 -05:00
Peter Goodman 31f267bd5f Cmake refactor (#693)
* Update to latest remill APIs and way of using CMake.

* Minor fixes

* Bug fixes for AArch64

* Tweaks

* Adds some nifty functionality useful for debugging some aarch64 bugs

* Fixes a subtle bug

* Bug fixes

* Make the test suite use explicit args

* Bug fix in xrefs

* Disable tests for now
2020-09-22 23:22:56 -04:00
Eric Kilmer 6b27218433 Update docs and fix docker mcsema-disass (#690)
* Fix mcsema-disass tool in final Docker image

* Update some README instructions

* Update more documentation

* Test that the disassembler has at least runtime dependencies to show help message
2020-08-14 20:10:26 -04:00
Eric Kilmer 338023c33f Adjust paths to find anvill after upstream update (#687) 2020-08-11 15:48:45 -04:00
Eric Kilmer c170c28de2 Remill binary docker (#657)
* Install remill from published Docker images instead of from source
* Use anvill docker image for anvill parts
2020-08-10 15:18:09 -04:00
Artem Dinaburg 3d9c121a12 Fix docker file to install remill (#681)
* Install remill in final docker image

* also bump latest remill
2020-08-05 15:45:30 -04:00
Peter Goodman 2d55d02cc3 API improvements. Must be used with the api_improvements branches of Remill and Anvill (#666)
* API improvements. Must be used with the api_improvements branch of both Remill and McSema

fixes for x86 and running the lifted code with klee

* Update dockerfile to clone anvill

* update remill commit id

* Add python3 to dockerfile

* update python3

* disable abi script

* Updated cmake to find anvill

* Update main.cpp

* update find_package for anvill

* WIP:updated prebuild cfg

* update prebuild cfg files

* enable abi build for testsuite

* Fix memory leak

* install missing package for testcases

* frontend: Reflect cfg file changes in dyninst frontend.

* frontend: Update local files copyrights to reflect overall change to agplv3.

* fix failing testcases

* update test cfgs

* Fix test failure with local state pointer

* set the flag to use local state_ptr in default mode

Co-authored-by: kumarak <iit.akshay@gmail.com>
Co-authored-by: Lukas Korencik <xkorenc1@fi.muni.cz>
2020-07-23 02:14:56 -04:00
Eric Kilmer effd27daa9 Small final docker image (#655)
* Small final Docker image
* Ubuntu 20.04 support
* LLVM10 Fixes
2020-05-21 02:04:38 -04:00
Artem Dinaburg 28dd4a717d Set up Github Actions and use a new Dockerfile based on the remill image (#650)
* Set up Github Actions and use a new Dockerfile based on the remill image
2020-05-07 02:04:07 -04:00