forked from avast/retdec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create new serialization/deserialization library
- Loading branch information
1 parent
4f277a0
commit e74bf6b
Showing
23 changed files
with
613 additions
and
280 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* @file include/retdec/serdes/calling_convention.h | ||
* @brief Calling convention (de)serialization. | ||
* @copyright (c) 2019 Avast Software, licensed under the MIT license | ||
*/ | ||
|
||
#ifndef RETDEC_SERDES_CALLING_CONVENTION_H | ||
#define RETDEC_SERDES_CALLING_CONVENTION_H | ||
|
||
#include <json/json.h> | ||
|
||
namespace retdec { | ||
|
||
namespace common { | ||
class CallingConvention; | ||
} // namespace common | ||
|
||
namespace serdes { | ||
|
||
Json::Value serialize(const common::CallingConvention& cc); | ||
common::CallingConvention deserialize(const Json::Value& val); | ||
|
||
} // namespace serdes | ||
} // namespace retdec | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
|
||
add_library(retdec-common STATIC | ||
address.cpp | ||
calling_convention.cpp | ||
) | ||
target_include_directories(retdec-common PUBLIC ${PROJECT_SOURCE_DIR}/include/) |
Oops, something went wrong.