函数逻辑报告 |
Source Code:block\partitions\ldm.c |
Create Date:2022-07-27 19:03:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ldm_parse_vol5 - Read a raw VBLK Volume object into a vblk structure*@buffer: Block of data being worked on*@buflen: Size of the block of data*@vb: In-memory vblk in which to return information
函数原型:static bool ldm_parse_vol5(const u8 *buffer, int buflen, struct vblk *vb)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
const u8 * | buffer | |
int | buflen | |
struct vblk * | vb |
1012 | 如果r_objid小于0则 |
1017 | 如果r_name小于0则 |
1022 | 如果r_vtype小于0则 |
1027 | 如果r_disable_drive_letter小于0则 |
1028 | ldm_error("r_disable_drive_letter %d < 0", r_disable_drive_letter) |
1030 | 返回:false |
1033 | 如果r_child小于0则 |
1038 | 如果r_size小于0则 |
1042 | 如果buffer[0x12]按位与VBLK_FLAG_VOLU_ID1则 |
1044 | 如果r_id1小于0则 |
1050 | 如果buffer[0x12]按位与VBLK_FLAG_VOLU_ID2则 |
1052 | 如果r_id2小于0则 |
1058 | 如果buffer[0x12]按位与VBLK_FLAG_VOLU_SIZE则 |
1060 | 如果r_size2小于0则 |
1066 | 如果buffer[0x12]按位与VBLK_FLAG_VOLU_DRIVE则 |
1068 | 如果r_drive小于0则 |
1075 | 如果len小于0则 |
1079 | len加等于VBLK_SIZE_VOL5 |
1080 | 如果len大于get_unaligned_be32(buffer + 0x14)则 |
1081 | ldm_error("len %d > BE32(buffer + 0x14) %d", len, get_unaligned_be32(buffer + 0x14)) |
1083 | 返回:false |
1088 | memcpy(volume_state, buffer + 0x18 + r_disable_drive_letter, volume_state的长度) |
1091 | partition_type等于buffer[0x41 + r_size] |
1093 | 如果buffer[0x12]按位与VBLK_FLAG_VOLU_DRIVE则 |
1097 | 返回:true |
名称 | 描述 |
---|---|
ldm_parse_vblk | ldm_parse_vblk - Read a raw VBLK object into a vblk structure*@buf: Block of data being worked on*@len: Size of the block of data*@vb: In-memory vblk in which to return information* Read a raw VBLK object into a vblk structure |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |