mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:07:34 +00:00
LibX86: Add an X86 instruction decoder library + basic disassembler
This will be very useful for developer tools like ProfileView, and also for future tools like debuggers and such. :^)
This commit is contained in:
parent
7cc7d303e3
commit
32d83fdee4
7 changed files with 2367 additions and 2 deletions
|
@ -42,10 +42,11 @@ file(GLOB AK_SOURCES "../../AK/*.cpp")
|
|||
file(GLOB LIBCORE_SOURCES "../../Libraries/LibCore/*.cpp")
|
||||
file(GLOB LIBIPC_SOURCES "../../Libraries/LibIPC/*.cpp")
|
||||
file(GLOB LIBLINE_SOURCES "../../Libraries/LibLine/*.cpp")
|
||||
file(GLOB LIBX86_SOURCES "../../Libraries/LibX86/*.cpp")
|
||||
file(GLOB LIBJS_SOURCES "../../Libraries/LibJS/*.cpp")
|
||||
file(GLOB LIBJS_SUBDIR_SOURCES "../../Libraries/LibJS/*/*.cpp")
|
||||
|
||||
set(SOURCES ${AK_SOURCES} ${LIBCORE_SOURCES} ${LIBIPC_SOURCES} ${LIBLINE_SOURCES} ${LIBJS_SOURCES} ${LIBJS_SUBDIR_SOURCES})
|
||||
set(SOURCES ${AK_SOURCES} ${LIBCORE_SOURCES} ${LIBIPC_SOURCES} ${LIBLINE_SOURCES} ${LIBJS_SOURCES} ${LIBJS_SUBDIR_SOURCES} ${LIBX86_SOURCES})
|
||||
|
||||
include_directories (../../)
|
||||
include_directories (../../Libraries/)
|
||||
|
@ -64,6 +65,10 @@ target_link_libraries(js lagom)
|
|||
target_link_libraries(js stdc++)
|
||||
target_link_libraries(js pthread)
|
||||
|
||||
add_executable(disasm ../../Userland/disasm.cpp)
|
||||
target_link_libraries(disasm lagom)
|
||||
target_link_libraries(disasm stdc++)
|
||||
|
||||
if (ENABLE_FUZZER_SANITIZER)
|
||||
add_subdirectory(Fuzzers)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue