DAILA icon indicating copy to clipboard operation
DAILA copied to clipboard

Building for python 3.12

Open Exiled1 opened this issue 1 year ago • 2 comments

I just wanted to share this with people if anyone wants to try to get DAILA working with python 3.12 you can follow these steps (use command provided to you by pytorch here).

  1. use command provided to you by pytorch here to install the version of pytorch for your system, at this time you need the nightly version of pytorch.
  2. gh repo clone binsync/varbert_api or git clone [email protected]:binsync/varbert_api.git
  3. cd varvert_api
  4. Use a text editor of your choice to edit setup.cfg and bump the following dependencies:
[options]
install_requires =
    torch
    transformers
    tqdm
    dailalib==2.2.2
    libbs==0.14.0
  1. while in the varbert_api dir, pip3 install -e .
  2. either pip3 install dailalib or if that doesn't work, clone the repo and pip3 install -e . inside of the directory
  3. daila --install
  4. Verify that it works in your decompiler of choice
  5. Profit

Exiled1 avatar Jan 08 '24 23:01 Exiled1