From: Nguyen A. Q. <aq...@gm...> - 2018-03-05 13:13:59
|
i used some adhoc scripts, but still modified that manually. you should look into existing tables to see how to do that yourself. Thanks, Quynh http://www.keystone-engine.org http://www.capstone-engine.org http://www.unicorn-engine.org On Fri, Mar 2, 2018 at 2:29 AM, Ben Horgan <ben...@ul...> wrote: > Hi, > > > > I’m looking at how the tablegen files are used in capstone and was > wondering if there were any scripts for converting to the c output used by > capstone or if this is done by hand. The files are generated using command > lines of the form: > > ./bin/llvm-tblgen.exe -gen-subtarget -I=../include -I=../lib/Target/Mips > ../lib/Target/Mips/Mips.td >MipsGenSubTargetInfoBRH.inc > > > > This is towards doing something similar for RISC-V in capstone using the > https://github.com/lowRISC/riscv-llvm-integration repo. > > > > Thanks, > > > > Ben > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Capstone-users mailing list > Cap...@li... > https://lists.sourceforge.net/lists/listinfo/capstone-users > > |