{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":316628315,"defaultBranch":"master","name":"epep","ownerLogin":"mkostoevr","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2020-11-28T00:41:30.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/26708480?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1691315462.0","currentOid":""},"activityList":{"items":[{"before":"5c824258bc861c62cdf99127f498834175a80d9b","after":"86695f6a899e5bbdb774fd135cafb0353e05f903","ref":"refs/heads/master","pushedAt":"2023-08-06T12:46:17.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mkostoevr","name":"Magomed Kostoev","path":"/mkostoevr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26708480?s=80&v=4"},"commit":{"message":"Test: Add pseudotest for over 64k - 1 relocations","shortMessageHtmlLink":"Test: Add pseudotest for over 64k - 1 relocations"}},{"before":"da9a55a60ed670876fb7aebe7c646b94f87afcef","after":"5c824258bc861c62cdf99127f498834175a80d9b","ref":"refs/heads/master","pushedAt":"2023-08-06T12:40:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mkostoevr","name":"Magomed Kostoev","path":"/mkostoevr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26708480?s=80&v=4"},"commit":{"message":"Test: Add pseudotest for the 64k relocations object","shortMessageHtmlLink":"Test: Add pseudotest for the 64k relocations object"}},{"before":"3bed4e348a486c346d0a452c58c1d85e1805c09d","after":"da9a55a60ed670876fb7aebe7c646b94f87afcef","ref":"refs/heads/master","pushedAt":"2023-08-06T11:07:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mkostoevr","name":"Magomed Kostoev","path":"/mkostoevr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26708480?s=80&v=4"},"commit":{"message":"Documentation: Make examples use the new relocations API","shortMessageHtmlLink":"Documentation: Make examples use the new relocations API"}},{"before":"15f8ee85bab804d95a33d473224e2ccd6342500b","after":"3bed4e348a486c346d0a452c58c1d85e1805c09d","ref":"refs/heads/master","pushedAt":"2023-08-06T10:57:06.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mkostoevr","name":"Magomed Kostoev","path":"/mkostoevr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26708480?s=80&v=4"},"commit":{"message":"Feature: Higher-level COFF relocations API\n\nNumber of COFF relocations of a section is stored in the 16-bit\nNumberOfRelocations field of a section header. If a COFF object has\nmore than 2^16 - 1 relocations, then the value does not fit in the\nfield.\n\nTo solve this problem, IMAGE_SCN_LNK_NRELOC_OVFL flag of a section\nheader has been introduced. If this flag is set for the section,\nthen the actual number of relocations is stored in the\nVirtualAddress field of the first relocation.\n\nIf the flag is set, then NumberOfRelocations field of the section\nheader should be equal to 0xffff, othervice the linker should give\nan error.\n\nSo this patch introduces few functions adressing this mechanism.\n\nepep_section_contains_extended_relocations:\n\n Checks whether the section has more than 2^16 - 1 relocations.\n Retrns error if the IMAGE_SCN_LNK_NRELOC_OVFL flag is set, but\n the NumberOfRelocations field is not equal to 0xffff.\n\nepep_get_section_extended_number_of_relocations:\n\n Reads the number of COFF relocations from the VirtualAddress\n field of the first COFF relocation.\n\nepep_get_section_number_of_relocations_x:\n\n Gives the number of meaningful relocations of the section.\n\n If the section has less than 2^16 relocations, then returns the\n value of the NumberOfRelocations field of the section header,\n othervice reads the number of relocations from the first COFF\n relocation, but: since the first relocation in this case is not\n meaningful, gives the actual number of relocations minus one.\n This is used in the function documented below.\n\n Returns 1 in the last argument if the section contains extended\n number of relocations, 0 othervice.\n\nepep_get_section_relocation_by_index_x:\n\n If the section has less than 2^16 relocations, then just reads\n a relocation by the given index. In case if the section has\n extended number of relocations, the first relocation is not\n meaningful, so it is skipped, and the relocation at index + 1\n is read instead.\n\nFixed epep_cli to use this API and added and fixed a few comments\nby the way.","shortMessageHtmlLink":"Feature: Higher-level COFF relocations API"}},{"before":"4ac9fbc320ec774a94e7ab6ee9cd1dcabfd13e58","after":"c58a6fd5596a62badded0df35ad229625a9913af","ref":"refs/heads/fix/relocation_count","pushedAt":"2023-08-06T10:54:45.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mkostoevr","name":"Magomed Kostoev","path":"/mkostoevr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26708480?s=80&v=4"},"commit":{"message":"Feature: Higher-level COFF relocations API\n\nNumber of COFF relocations of a section is stored in the 16-bit\nNumberOfRelocations field of a section header. If a COFF object has\nmore than 2^16 - 1 relocations, then the value does not fit in the\nfield.\n\nTo solve this problem, IMAGE_SCN_LNK_NRELOC_OVFL flag of a section\nheader has been introduced. If this flag is set for the section,\nthen the actual number of relocations is stored in the\nVirtualAddress field of the first relocation.\n\nIf the flag is set, then NumberOfRelocations field of the section\nheader should be equal to 0xffff, othervice the linker should give\nan error.\n\nSo this patch introduces few functions adressing this mechanism.\n\nepep_section_contains_extended_relocations:\n\n Checks whether the section has more than 2^16 - 1 relocations.\n Retrns error if the IMAGE_SCN_LNK_NRELOC_OVFL flag is set, but\n the NumberOfRelocations field is not equal to 0xffff.\n\nepep_get_section_extended_number_of_relocations:\n\n Reads the number of COFF relocations from the VirtualAddress\n field of the first COFF relocation.\n\nepep_get_section_number_of_relocations_x:\n\n Gives the number of meaningful relocations of the section.\n\n If the section has less than 2^16 relocations, then returns the\n value of the NumberOfRelocations field of the section header,\n othervice reads the number of relocations from the first COFF\n relocation, but: since the first relocation in this case is not\n meaningful, gives the actual number of relocations minus one.\n This is used in the function documented below.\n\n Returns 1 in the last argument if the section contains extended\n number of relocations, 0 othervice.\n\nepep_get_section_relocation_by_index_x:\n\n If the section has less than 2^16 relocations, then just reads\n a relocation by the given index. In case if the section has\n extended number of relocations, the first relocation is not\n meaningful, so it is skipped, and the relocation at index + 1\n is read instead.\n\nFixed epep_cli to use this API and added and fixed a few comments\nby the way.","shortMessageHtmlLink":"Feature: Higher-level COFF relocations API"}},{"before":"eb09ae9df9ab03d0c413028fdbb4f46b9c41259a","after":"4ac9fbc320ec774a94e7ab6ee9cd1dcabfd13e58","ref":"refs/heads/fix/relocation_count","pushedAt":"2023-08-06T10:44:31.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mkostoevr","name":"Magomed Kostoev","path":"/mkostoevr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26708480?s=80&v=4"},"commit":{"message":"Feature: Higher-level COFF relocations API\n\nNumber of COFF relocations of a section is stored in the 16-bit\nNumberOfRelocations field of a section header. If a COFF object has\nmore than 2^16 - 1 relocations, then the value does not fit in the\nfield.\n\nTo solve this problem, IMAGE_SCN_LNK_NRELOC_OVFL flag of a section\nheader has been introduced. If this flag is set for the section,\nthen the actual number of relocations is stored in the\nVirtualAddress field of the first relocation.\n\nIf the flag is set, then NumberOfRelocations field of the section\nheader should be equal to 0xffff, othervice the linker should give\nan error.\n\nSo this patch introduces few functions adressing this mechanism.\n\nepep_section_contains_extended_relocations:\n\n Checks whether the section has more than 2^16 - 1 relocations.\n Retrns error if the IMAGE_SCN_LNK_NRELOC_OVFL flag is set, but\n the NumberOfRelocations field does not equal to 0xffff.\n\nepep_get_section_extended_number_of_relocations:\n\n Reads the number of COFF relocations from the VirtualAddress\n field of the first COFF relocation.\n\nepep_get_section_number_of_relocations_x:\n\n Provides the number of meaningful relocations of the section.\n\n If the section has less than 2^16 relocations, returns the\n value of the NumberOfRelocations field of the section header,\n othervice reads the number of relocations from the first COFF\n relocation, but: since the first relocation in this case is not\n meaningful, returns the read value minus one. This is used in\n the function documented below.\n\n Returns 1 in the last argument if the section contains extended\n number of relocations, 0 othervice.\n\nepep_get_section_relocation_by_index_x:\n\n If the section has less than 2^16 relocations, then just reads\n a relocation by the given index. In case if the section has\n extended number of relocations, the first relocation is not\n meaningful, so it is skipped, and index + 1'th relocation is\n read instead.\n\nFixed epep_cli to use this API and added and fixed a few comments\nby the way.","shortMessageHtmlLink":"Feature: Higher-level COFF relocations API"}},{"before":"f4986c74e3a74ec5b4ed156385e885bc11dc614d","after":"eb09ae9df9ab03d0c413028fdbb4f46b9c41259a","ref":"refs/heads/fix/relocation_count","pushedAt":"2023-08-06T10:42:48.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mkostoevr","name":"Magomed Kostoev","path":"/mkostoevr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26708480?s=80&v=4"},"commit":{"message":"Feature: Higher-level COFF relocations API\n\nNumber of COFF relocations of a section is stored in the 16-bit\nNumberOfRelocations field of a section header. If a COFF object has\nmore than 2^16 - 1 relocations, then the value does not fit in the\nfield.\n\nTo solve this problem, IMAGE_SCN_LNK_NRELOC_OVFL flag of a section\nheader has been introduced. If this flag is set for the section,\nthen the actual number of relocations is stored in the\nVirtualAddress field of the first relocation.\n\nIf the flag is set, then NumberOfRelocations field of the section\nheader should be equal to 0xffff, othervice the linker should give\nan error.\n\nSo this patch introduces few functions adressing this mechanism.\n\nepep_section_contains_extended_relocations:\n\n Checks whether the section has more than 2^16 - 1 relocations.\n Retrns error if the IMAGE_SCN_LNK_NRELOC_OVFL flag is set, but\n the NumberOfRelocations field does not equal to 0xffff.\n\nepep_get_section_extended_number_of_relocations:\n\n Reads the number of COFF relocations from the VirtualAddress\n field of the first COFF relocation.\n\nepep_get_section_number_of_relocations_x:\n\n Returns the number of meaningful relocations of the section.\n\n If the section has less than 2^16 relocations, returns the\n value of the NumberOfRelocations field of the section header,\n othervice reads the number of relocations from the first COFF\n relocation, but: since the first relocation in this case is not\n meaningful, returns the read value minus one. This is used in\n the function documented below.\n\n Returns 1 in the last argument if the section contains extended\n number of relocations, 0 othervice.\n\nepep_get_section_relocation_by_index_x:\n\n If the section has less than 2^16 relocations, then just reads\n a relocation by the given index. In case if the section has\n extended number of relocations, the first relocation is not\n meaningful, so it is skipped, and index + 1'th relocation is\n read instead.\n\nFixed epep_cli to use this API and added and fixed a few comments\nby the way.","shortMessageHtmlLink":"Feature: Higher-level COFF relocations API"}},{"before":"9fa12c5161548954840c0ae56be5e6e6159a6a60","after":"f4986c74e3a74ec5b4ed156385e885bc11dc614d","ref":"refs/heads/fix/relocation_count","pushedAt":"2023-08-06T10:42:28.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mkostoevr","name":"Magomed Kostoev","path":"/mkostoevr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26708480?s=80&v=4"},"commit":{"message":"Feature: Higher-level COFF relocations API\n\nNumber of COFF relocations of a section is stored in the 16-bit\nNumberOfRelocations field of a section header. If a COFF object has\nmore than 2^16 - 1 relocations, then the value does not fit in the\nfield.\n\nTo solve this problem, IMAGE_SCN_LNK_NRELOC_OVFL flag of a section\nheader has been introduced. If this flag is set for the section,\nthen the actual number of relocations is stored in the\nVirtualAddress field of the first relocation.\n\nIf the flag is set, then NumberOfRelocations field of the section\nheader should be equal to 0xffff, othervice the linker should give\nan error.\n\nSo this patch introduces few functions adressing this mechanism.\n\nepep_section_contains_extended_relocations:\n\n Checks whether the section has more than 2^16 - 1 relocations.\n Retrns error if the IMAGE_SCN_LNK_NRELOC_OVFL flag is set, but\n the NumberOfRelocations field does not equal to 0xffff.\n\nepep_get_section_extended_number_of_relocations:\n\n Reads the number of COFF relocations from the VirtualAddress\n field of the first COFF relocation.\n\nepep_get_section_number_of_relocations_x:\n\n Returns the number of meaningful relocations of the section.\n\n If the section has less than 2^16 relocations, returns the\n value of the NumberOfRelocations field of the section header,\n othervice reads the number of relocations from the first COFF\n relocation, but: since the first relocation in this case is not\n meaningful, returns the read value minus one. This is used in\n the function documented below.\n\n Returns 1 in the last argument of the section contains extended\n number of relocations, 0 othervice.\n\nepep_get_section_relocation_by_index_x:\n\n If the section has less than 2^16 relocations, then just reads\n a relocation by the given index. In case if the section has\n extended number of relocations, the first relocation is not\n meaningful, so it is skipped, and index + 1'th relocation is\n read instead.\n\nFixed epep_cli to use this API and added and fixed a few comments\nby the way.","shortMessageHtmlLink":"Feature: Higher-level COFF relocations API"}},{"before":"5dee8cdaccac046ab6557a21ce9b52017ce2dcb9","after":"9fa12c5161548954840c0ae56be5e6e6159a6a60","ref":"refs/heads/fix/relocation_count","pushedAt":"2023-08-06T10:40:15.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mkostoevr","name":"Magomed Kostoev","path":"/mkostoevr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26708480?s=80&v=4"},"commit":{"message":"Feature: Higher-level COFF relocations API\n\nNumber of COFF relocations of a section is stored in the 16-bit\nNumberOfRelocations field of a section header. If a COFF object has\nmore than 2^16 - 1 relocations, then the value does not fit in the\nfield.\n\nTo solve this problem, IMAGE_SCN_LNK_NRELOC_OVFL flag of a section\nheader has been introduced. If this flag is set for the section,\nthen the actual number of relocations is stored in the\nVirtualAddress field of the first relocation.\n\nIf the flag is set, then NumberOfRelocations field of the section\nheader should be equal to 0xffff, othervice the linker should give\nan error.\n\nSo this patch introduces few functions adressing this mechanism.\n\nepep_section_contains_extended_relocations:\n\n Checks whether the section has more than 2^16 - 1 relocations.\n Retrns error if the IMAGE_SCN_LNK_NRELOC_OVFL flag is set, but\n the NumberOfRelocations field does not equal to 0xffff.\n\nepep_get_section_extended_number_of_relocations:\n\n Reads the number of COFF relocations from the VirtualAddress\n field of the first COFF relocation.\n\nepep_get_section_number_of_relocations_x:\n\n If the section has less than 2^16 relocations, returns the\n value of the NumberOfRelocations field of the section header,\n othervice reads the number of relocations from the first COFF\n relocation, but: since the first relocation in this case is not\n meaningful, returns the read value minus one. This is used in\n the function documented below.\n\n Returns 1 in the last argument if the section contains extended\n number of relocations, 0 othervice.\n\nepep_get_section_relocation_by_index_x:\n\n If the section has less than 2^16 relocations, then just reads\n a relocation by the given index. In case if the section has\n extended number of relocations, the first relocation is not\n meaningful, so it is skipped, and index + 1'th relocation is\n read instead.\n\nFixed epep_cli to use this API and added and fixed a few comments\nby the way.","shortMessageHtmlLink":"Feature: Higher-level COFF relocations API"}},{"before":"3da3b677b6eaa4d0de5338cb5787dfbbf0a9b36f","after":"5dee8cdaccac046ab6557a21ce9b52017ce2dcb9","ref":"refs/heads/fix/relocation_count","pushedAt":"2023-08-06T10:39:24.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mkostoevr","name":"Magomed Kostoev","path":"/mkostoevr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26708480?s=80&v=4"},"commit":{"message":"Feature: Higher-level COFF relocations API\n\nNumber of COFF relocations of a section is stored in the 16-bit\nNumberOfRelocations field of a section header. If a COFF object has\nmore than 2^16 - 1 relocations, then the value does not fit in the\nfield.\n\nTo solve this problem, IMAGE_SCN_LNK_NRELOC_OVFL flag of a section\nheader has been introduced. If this flag is set for the section,\nthen the actual number of relocations is stored in the\nVirtualAddress field of the first relocation.\n\nIf the flag is set, then NumberOfRelocations field of the section\nheader should be equal to 0xffff, othervice the linker should give\nan error.\n\nSo this patch introduces few functions adressing this mechanism.\n\nepep_section_contains_extended_relocations:\n\n Checks whether the section has more than 2^16 - 1 relocations.\n Retrns error if the IMAGE_SCN_LNK_NRELOC_OVFL flag is set, but\n the NumberOfRelocations field does not equal to 0xffff.\n\nepep_get_section_extended_number_of_relocations:\n\n Reads the number of COFF relocations from the VirtualAddress\n field of the first COFF relocation.\n\nepep_get_section_number_of_relocations_x:\n\n If the section has less than 2^16 relocations, returns the\n value of the NumberOfRelocations field of the section header,\n othervice reads the number of relocations from the first COFF\n relocation, but: since the first relocation in this case is not\n meaningful, returns the acquired value minus one. This is used\n in the function documented below.\n\n Returns 1 in the last argument if the section contains extended\n number of relocations, 0 othervice.\n\nepep_get_section_relocation_by_index_x:\n\n If the section has less than 2^16 relocations, then just reads\n a relocation by the given index. In case if the section has\n extended number of relocations, the first relocation is not\n meaningful, so it is skipped, and index + 1'th relocation is\n read instead.\n\nFixed epep_cli to use this API and added and fixed a few comments\nby the way.","shortMessageHtmlLink":"Feature: Higher-level COFF relocations API"}},{"before":"6450383144575958d543e2d86ce39d1717a27653","after":"3da3b677b6eaa4d0de5338cb5787dfbbf0a9b36f","ref":"refs/heads/fix/relocation_count","pushedAt":"2023-08-06T10:36:33.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mkostoevr","name":"Magomed Kostoev","path":"/mkostoevr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26708480?s=80&v=4"},"commit":{"message":"Feature: Higher-level COFF relocations API\n\nNumber of COFF relocations of a section is stored in the 16-bit\nNumberOfRelocations field of a section header. If a COFF object has\nmore than 2^16 - 1 relocations, then the value does not fit in the\nfield.\n\nTo solve this problem, IMAGE_SCN_LNK_NRELOC_OVFL flag of a section\nheader has been introduced. If this flag is set for the section,\nthen the actual number of relocations is stored in the\nVirtualAddress field of the first relocation.\n\nIf the flag is set, then NumberOfRelocations field of the section\nheader should be equal to 0xffff, othervice the linker should give\nan error.\n\nSo this patch introduces few functions adressing this mechanism.\n\nepep_section_contains_extended_relocations:\n\n Checks whether the section has more than 2^16 - 1 relocations.\n Retrns error if the IMAGE_SCN_LNK_NRELOC_OVFL flag is set, but\n the NumberOfRelocations field does not equal to 0xffff.\n\nepep_get_section_extended_number_of_relocations:\n\n Reads the number of COFF relocations from the VirtualAddress\n field of the first COFF relocation.\n\nepep_get_section_number_of_relocations_x:\n\n If the section has less than 2^16 relocations, returns the\n value of the NumberOfRelocations field of the section header,\n othervice reads the number of relocations from the first COFF\n relocation.\n\n Returns 1 in the last argument if the section contains extended\n number of relocations, 0 othervice.\n\nepep_get_section_relocation_by_index_x:\n\n If the section has less than 2^16 relocations, then just reads\n a relocation by the given index. In case if the section has\n extended number of relocations, the first relocation is not\n meaningful, so it is skipped, and index + 1'th relocation is\n read instead.\n\nFixed epep_cli to use this API and added and fixed a few comments\nby the way.","shortMessageHtmlLink":"Feature: Higher-level COFF relocations API"}},{"before":"ced5328b504c45e3e1a9fe786ff661fead79aa1b","after":"6450383144575958d543e2d86ce39d1717a27653","ref":"refs/heads/fix/relocation_count","pushedAt":"2023-08-06T10:35:02.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mkostoevr","name":"Magomed Kostoev","path":"/mkostoevr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26708480?s=80&v=4"},"commit":{"message":"Feature: Higher-level COFF relocations API\n\nNumber of COFF relocations of a section is stored in the 16-bit\nNumberOfRelocations field of a section header. If a COFF object has\nmore than 2^16 - 1 relocations, then the value does not fit in the\nfield.\n\nTo solve this problem, IMAGE_SCN_LNK_NRELOC_OVFL flag of a section\nheader has been introduced. If this flag is set for the section,\nthen the actual number of relocations is stored in the\nVirtualAddress field of the first relocation.\n\nIf the flag is set, then NumberOfRelocations field of the section\nheader should be equal to 0xffff, othervice the linker should give\nan error.\n\nSo this patch introduces few functions adressing this mechanism.\n\nepep_section_contains_extended_relocations:\n\n Checks whether the section has more than 2^16 - 1 relocations.\n Retrns error if the IMAGE_SCN_LNK_NRELOC_OVFL flag is set, but\n the NumberOfRelocations field does not equal to 0xffff.\n\nepep_get_section_extended_number_of_relocations:\n\n Reads the number of COFF relocations from the VirtualAddress\n field of the first COFF relocation.\n\nepep_get_section_number_of_relocations_x:\n\n If the section has less than 2^16 relocations, returns the\n value of the NumberOfRelocations field of the section header,\n reads the number of relocations from the first COFF relocation\n othervice.\n\n Returns 1 in the last argument if the section contains extended\n number of relocations, 0 othervice.\n\nepep_get_section_relocation_by_index_x:\n\n If the section has less than 2^16 relocations, then just reads\n a relocation by the given index. In case if the section has\n extended number of relocations, the first relocation is not\n meaningful, so it is skipped, and index + 1'th relocation is\n read instead.\n\nFixed epep_cli to use this API and added and fixed a few comments\nby the way.","shortMessageHtmlLink":"Feature: Higher-level COFF relocations API"}},{"before":"28c7061259219f472fffa05f9ffc8dbb1f57a7b7","after":"ced5328b504c45e3e1a9fe786ff661fead79aa1b","ref":"refs/heads/fix/relocation_count","pushedAt":"2023-08-06T10:33:40.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mkostoevr","name":"Magomed Kostoev","path":"/mkostoevr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26708480?s=80&v=4"},"commit":{"message":"Feature: Higher-level COFF relocations API\n\nNumber of COFF relocations of a section is stored in the 16-bit\nNumberOfRelocations field of a section header. If a COFF object has\nmore than 2^16 - 1 relocations, then the value does not fit in the\nfield.\n\nTo solve this problem, IMAGE_SCN_LNK_NRELOC_OVFL flag of a section\nheader has been introduced. If this flag is set for the section,\nthen the actual number of relocations is stored in the\nVirtualAddress field of the first relocation.\n\nIf the flag is set, then NumberOfRelocations field of the section\nheader should be equal to 0xffff, othervice the linker should give\nan error.\n\nSo this patch introduces few functions adressing this mechanism.\n\nepep_section_contains_extended_relocations:\n\n Checks whether the section has more than 2^16 - 1 relocations.\n Retrns error if the IMAGE_SCN_LNK_NRELOC_OVFL flag is set, but\n the NumberOfRelocations field does not equal to 0xffff.\n\nepep_get_section_extended_number_of_relocations:\n\n Reads the number of COFF relocations from the VirtualAddress\n field of the first COFF relocation.\n\nepep_get_section_number_of_relocations_x:\n\n If the section has less than 2^16 relocations, returns the\n value of the NumberOfRelocations field of the section header,\n reads the number of relocations from the first COFF relocation\n othervice.\n\n Returns 1 in the last argument if the section contains extended\n number of relocations, 0 othervice.\n\nepep_get_section_relocation_by_index_x:\n\n If the section has less than 2^16 relocations, then just reads\n a relocation by the given index. In case if the section has\n extended number of relocations, the first relocation is not\n meaningful, so it is skipped, and index + 1'th relocation is\n read instead.\n\nFixed epep_cli to use this API and added and fixed a few comments\nby th way.","shortMessageHtmlLink":"Feature: Higher-level COFF relocations API"}},{"before":"902ece25215ad40979c674c5bd7fbe53c4d71be8","after":"28c7061259219f472fffa05f9ffc8dbb1f57a7b7","ref":"refs/heads/fix/relocation_count","pushedAt":"2023-08-06T10:29:47.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mkostoevr","name":"Magomed Kostoev","path":"/mkostoevr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26708480?s=80&v=4"},"commit":{"message":"Feature: Higher-level COFF relocations API\n\nNumber of COFF relocations of a section is stored in the 16-bit\nNumberOfRelocations field of a section header. If a COFF object has\nmore than 2^16 - 1 relocations, then the value does not fit in the\nfield.\n\nTo solve this problem, IMAGE_SCN_LNK_NRELOC_OVFL flag of a section\nheader has been introduced. If this flag is set for the section,\nthen the actual number of relocations is stored in the\nVirtualAddress field of the first relocation.\n\nIf the flag is set, then NumberOfRelocations field of the section\nheader should be equal to 0xffff, othervice the linker should give\nan error.\n\nSo this patch introduces few functions adressing this mechanism.\n\nepep_section_contains_extended_relocations:\n\n Checks whether the section has more than 2^16 - 1 relocations.\n Retrns error if the IMAGE_SCN_LNK_NRELOC_OVFL flag is set, but\n the NumberOfRelocations field does not equal to 0xffff.\n\nepep_get_section_extended_number_of_relocations:\n\n Reads the number of COFF relocations from the VirtualAddress\n field if the first COFF relocation.\n\nepep_get_section_number_of_relocations_x:\n\n If the section has less than 2^16 relocations, returns the\n value of the NumberOfRelocations field of the section header,\n reads the number of relocations from the first COFF relocation\n othervice.\n\n Returns 1 in the last argument if the section contains extended\n number of relocations, 0 othervice.\n\nepep_get_section_relocation_by_index_x:\n\n If the section has less than 2^16 relocations, then just reads\n a relocation by the given index. In case if the section has\n extended number of relocations, the first relocation is not\n meaningful, so it is skipped, and index + 1'th relocation is\n read instead.\n\nFixed epep_cli to use this API and added and fixed a few comments\nby th way.","shortMessageHtmlLink":"Feature: Higher-level COFF relocations API"}},{"before":"bd46777e93d83d3faeeb827bbb7d21d98a8dca6e","after":"902ece25215ad40979c674c5bd7fbe53c4d71be8","ref":"refs/heads/fix/relocation_count","pushedAt":"2023-08-06T10:28:10.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mkostoevr","name":"Magomed Kostoev","path":"/mkostoevr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26708480?s=80&v=4"},"commit":{"message":"Feature: Higher-level COFF relocations API\n\nNumber of COFF relocations of a section is stored in the 16-bit\nNumberOfRelocations field of a section header. If a COFF object has\nmore than 2^16 - 1 relocations, then the value does not fit in the\nfield.\n\nTo solve this problem, IMAGE_SCN_LNK_NRELOC_OVFL flag of a section\nheader has been introduced. If this flag is set for the section,\nthen the actual number of relocations is stored in the\nVirtualAddress field of the first relocation.\n\nIf the flag is set, then NumberOfRelocations field of the section\nheader should be equal to 0xffff, othervice the linker should give\nan error.\n\nSo this patch introduces few functions adressing this mechanism.\n\nepep_section_contains_extended_relocations:\n\n Checks whether the section has more than 2^16 - 1 relocations.\n Retrns error if the IMAGE_SCN_LNK_NRELOC_OVFL flag is set, but\n the NumberOfRelocations field does not equal to 0xffff.\n\nepep_get_section_extended_number_of_relocations:\n\n Reads the number of COFF relocations from the VirtualAddress\n field if the first COFF relocation.\n\nepep_get_section_number_of_relocations_x:\n\n If the section has less than 2^16 relocations, returns the\n value of the NumberOfRelocations field of the section header,\n reads the number of relocations from the first COFF relocation\n othervice.\n\n Returns 1 in the last argument if the section contains extended\n number of relocations, 0 othervice.\n\nepep_get_section_relocation_by_index_x:\n\n If the section has less than 2^16 relocations, then just reads\n a relocation by the given index. In case if the section has\n extended number of relocations, the first relocation is not\n meaningful, so it is skipped, and index + 1'th relocation is\n read instead.","shortMessageHtmlLink":"Feature: Higher-level COFF relocations API"}},{"before":"e9ff762952012c069a04da056a322a361e106035","after":"bd46777e93d83d3faeeb827bbb7d21d98a8dca6e","ref":"refs/heads/fix/relocation_count","pushedAt":"2023-08-06T09:59:53.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mkostoevr","name":"Magomed Kostoev","path":"/mkostoevr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26708480?s=80&v=4"},"commit":{"message":"Feature: Higher-level COFF relocations API","shortMessageHtmlLink":"Feature: Higher-level COFF relocations API"}},{"before":null,"after":"e9ff762952012c069a04da056a322a361e106035","ref":"refs/heads/fix/relocation_count","pushedAt":"2023-08-06T09:51:02.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mkostoevr","name":"Magomed Kostoev","path":"/mkostoevr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26708480?s=80&v=4"},"commit":{"message":"Feature: Higher-level COFF relocations API","shortMessageHtmlLink":"Feature: Higher-level COFF relocations API"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADZONnAwA","startCursor":null,"endCursor":null}},"title":"Activity ยท mkostoevr/epep"}